May 6, 2014 08:33 by Ben
Microsoft Visual Studio 2012 is loaded with new capabilities for Windows 8, the web, SharePoint, mobile, and cloud development—as well as the application management lifecycle tools you need to break down team barriers and reduce cycle times to deliver value continuously.
Visual Studio 2012 is New versions of Visual Studio usually coincide with updates to the .NET Framework and one of our biggest releases yet. It comes purpose-built to help you thrive in an environment in which ideas are at a premium and speed is of the essence.
This Article can tell you how to publish your asp.net 4.5 site in vistul studio 2012.
Steps to Publish Web Application in Visual Studio 2012:
Step 1: Right click on the web project in the solution explorer window and then select the option Publish.
Step 2: Publish Web Application Window will open .Here under the option Select or Import a publish profile Select the option New in the drop down.
Step 3: In New Profile Window give any name to Profile and then click on Ok.
Step 4: Next in Connection Select the Publish method File System.
Step 5: Again in Connection for Target location select the folder on your computer where you want to publish the web application and then click on Next Button.
Step 6: In Settings Select the Configuration Release in the drop down and then click on Next Button.
Step 7: Finally in the Preview Click on Publish to Publish the web Project to folder selected in the Step 5 above.
Best and Affordable Visual Studio 2012 Hosting with ASPHostPortal.com
We have supported site developed with Visual Studio 2012 Hosting. Host your site on our Windows Server 2012 today. Visual Studio 2012 is New versions of Visual Studio usually coincide with updates to the .NET Framework and one of our biggest releases yet. It comes purpose-built to help you thrive in an environment in which ideas are at a premium and speed is of the essence.
For fast, secure and reliable Visual Studio 2012 Hosting, look no further than ASPHostPortal.com for all your web hosting related needs. Microsoft Visual Studio 2012 provides many new capabilities to support development on the latest platforms with modern lifecycle tools to make it easier for teams to deliver value continuously.
Visual Studio Updates help ensure you always have the best solution for building modern applications and for managing the modern application lifecycle. New to Windows Extensions, Modules, and Libraries? Ready to try out? Sign up for a FREE Trial Hosting account from ASPHostPortal.com with absolutely no cost and get going in minutes. Our Windows Server is also compatible with Visual Studio 2005, Visual Studio 2008, and Visual Studio 2010.
November 27, 2013 05:33 by Mike
Environment variables are a great thing for when you publish your website to multiple places. It doesn't matter if you publish it to testing / staging / production environment or if you're publishing your site to several servers which require different methods to be called / different values assigned to parameters.
Let's create a web application project:
1. Open Visual Studio 2010
2. Create New Project -> ASP.NET Web Application
As you can see, you automatically have two configuration options:
3. Right click on the project in the Solution Explorer. Click on Properties and click on Build tab.
4. Under that tab you have many configuration options. The field we're interested in is "Conditional compilation symbols". While on Debug mode, we will write a variable name in this field. Example: "vDebug"
5. After saving, you will have an identifier for when in Debug mode.
6. Before testing our work, we're gonna create another Configuration. Click on the configuration drop down list and choose Configuration Manager.
7. Add new Configuration - TestRelease:
8. Now place the variables in Release Configuration and in TestRelease Configuration. I've placed the variables: vRelease and vTestRelease
9. Now for the test. Create a similar code on your Default.aspx.cs page:
When you will run the code, you'll see that for each configuration option it will it the correct method.