Tip #108 Did you know … How to improve reference efficiency in JavaScript files inside a web project?

In Visual Studio 2010, we can reference other JavaScript files inside current JavaScript file like the following, to get the IntelliSense. /// <reference path="JScript2.js" /> What if you have many JavaScript files and you’ve to reference many project wide JavaScript files inside each file?  You can put the following block in each of the JavaScript…

0

Tip #106 Did you know … How to solve the errors when aspnetdb.mdf is created dynamically with IIS?

In VS2010 all editions, the default .NET Framework 4.0 ASP.NET Web Site and Web Application template create default website with following connection string in the web.config: <connectionStrings> <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" /> </connectionStrings> To get the aspnetdb.mdf created on the fly, one can simply Ctrl-F5 to run the web site or web…

4