This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Project ToolsVersion="4.0" DefaultTarget="RunTests" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| <PropertyGroup> | |
| <results_file>./TestResults/results.trx</results_file> | |
| </PropertyGroup> | |
| <PropertyGroup> | |
| <MsTestExePath Condition="'$(MsTestExePath)'==''">C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\MSTest.exe</MsTestExePath> | |
| </PropertyGroup> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Public Module BundleConfig | |
| ''' <summary> | |
| ''' Registers the bundles. | |
| ''' </summary> | |
| ''' <param name="bundles">The bundles.</param> | |
| ''' <remarks></remarks> | |
| Public Sub RegisterBundles(ByVal bundles As BundleCollection) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using (var db = new BloggingContext()) | |
| { | |
| // Create a SQL command to execute the sproc | |
| var cmd = db.Database.Connection.CreateCommand(); | |
| cmd.CommandText = "[dbo].[uspCustomerAndCompanySearch] @Query"; | |
| // Add Parameters to cmd here | |
| cmd.Parameters.Add(new SqlParameter("query", response.Query)); | |
| try |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd \inetpub\adminscripts | |
| cscript adsutil.vbs set w3svc/MaxConnections 40 | |
| iisreset |
NewerOlder