asp.net - Can i add a footer to multiple .net applications? -


I would like to apply Google analysics to a website that is a mix of classic ASP and various .NET applications. All classic ASP pages share a footer.inc file, so that there is no validity. However, the net pages do not share anything, and sometimes do not even use master pages, there is no way, I can compile a DLL, leave it in the GAC and reference it in web.config Am I

Thank you!

You can create one, in which you can add a filter reaction stream.

In that filter, you can see the closing body tag (for example), and whatever markup you need, there you can. Here is an article with details on this view:.

When you have the module ready, you can put the module in GAC, and you can refer to web.config for each of your applications. If you need it on every .NET application on the server, you can also put it in the machine-wide web.config file (to protect the problem of configuring you all the web). This file is for C: \ Windows \ System \ Microsoft.NET \ Framework \ & lt; Version & gt; \ CONFIG


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -