Home / ASP.NET Weblogs

May 2009 - Posts

Posted to:

Known Issues, Resolutions and Work-arounds for VS 10 Web 1-Click Publish

There are certain known issues and workarounds which you may or may not encounter while using VS 2010 Web 1-Click Publish but I have still posted them here in case you face any of those and want to debug your deployment problems… If you receive 502- Bad Gateway error then go to Internet Explorer –> Connections –> LAN Settings –> and uncheck the “Automatically detect proxy settings” and after that you should be good to go… At times within Intranet environments if ISA Server or alike is not running then you may get errors like “VsMsdeploy failed.(Request to remote agent URL 'https://myWebServerName:8172/msdeploy.axd?site=myWebSite’ failed.) Error Details:Unable to connect to the remote server. OR The remote name could not be resolved...
Posted to:

Tip #70: Did you know… how to install win7 RC IIS through command script?

Windows 7 RC’s IIS included ftp 7.5 feature.  Installing it from command line is a little bit different than the vista IIS7 command line.  It is as following:   start /w pkgmgr /l:log.etw /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS...
Filed under: , ,
Posted to:

Tip #69: Did you know…The keyboard shortcut for View in Browser?

Ctrl +Shift+W does the trick for you. This short cut is mentioned under File Menu -> View in Browser . So if you are still using Select File -> Right click for context menu and then selecting View in Browser as shown below, you may want to start...
Posted to:

Tip #68 Did you know… How simple it is to attach an existing style sheet to your web page?

Open an existing web site in VWD. Open the page by double clicking on it in solution explorer to which you want to attach the existing style sheet in your web site. Now, switch to Design View of the page and bring up Select Style Sheet dialog by clicking...
Posted to:

Web 1-Click Publish with VS 2010

Visual Studio 2010 has great features to make your web deployment easier…   I have written a high level article describing the web deployment feature set of VS 2010 below: Web Deployment with VS 2010 and IIS Today my goal is to go through an end to end walkthrough of the Web 1-Click  Publish feature of VS 2010…  This walkthrough will cover following: Prepping up an ASP.NET 4.0 web application which is using a SQL Server Database for deployment Gathering the remote web and database server information Setting up Web.config Transformation to change your connectionString Including SQL Server Databases in Web Deployment Creating a 1-Click Publish Profile to Publish your web content, databases and transformed web.config files 1...
Posted to:

Tip #67: Did you know the list of ASP.Net MVC shortcuts?

Add Controller (Ctrl-M Ctrl-C) Add Controller is a simple dialog box that lets you quickly add controllers to ASP.Net MVC Applications. Right-Click the 'Controllers' folder or simply press Ctrl-M Ctrl-C to invoke this dialog. Add View (Ctrl-M...
Posted to:

Creating a simple .NET 4.0 Web App using Visual Studio 2010

The goal of this end to end walkthrough is to create a really simple ASP.NET 4.0 Web Application which uses SQL Server database and is built using Visual Studio 2010 (VS 10)…  The 11 steps in this walkthrough are: 1. Create a new ASP.NET 4.0 Web Application Project (WAP) 2. Create a simple SQL Server Database using SQL Express 3. Add Tables to the Database and set foreign key relationships 4. Add data to the tables created 5. Add a MasterPage and ContentPage to the ASP.NET 4.0 WAP 6. Modify the Master Page to provide consistent look and feel to the site 7. Add datacontrols like GridView and bind them to SQL Express database 8. Add additional web page and use DataView to display more data 9. Use QueryBuilder to fetch data from multiple tables...
Posted to:
05-30-2009, 6:39 PM

May 30th Links: ASP.NET, AJAX, ASP.NET MVC, Visual Studio

Here is the latest in my link-listing series .  Also check out my ASP.NET Tips, Tricks and Tutorials page and Silverlight Tutorials page for links to popular articles I've done myself in the past.  You can also now follow me on twitter ( @realscottgu ) where I also post links and small posts. ASP.NET Using ASP.NET 3.5’s ListView and DataPager Controls to Delete Data : Scott Mitchell continues his excellent tutorial series on the ASP.NET ListView control. In this article he discusses how to handle deleting data with it. ASP.NET ListView: Displaying Hierarchical Data : Adam Pooler writes about how to use the ASP.NET ListView control to display hierarchical data within a web page. ELMAH: Error Logging Module and Handlers for ASP.NET...
Posted to:

ViewModel with MVC/Navigation in Silverlight

I've been writing about ViewModel (aka MVVM) pattern ( here , here , here and more) and implementing it in Silverlight.FX for quite some time now, and it continues to be an exciting area for further thinking, and prototyping. This time around I want to cover how ViewModel and MVC fit together in an application at the same time. I have put together a set of navigation features into Silverlight.FX: a Page base class, a PageFrame control, and a Navigate trigger action. The PageFrame class by default maps URIs to Page types automatically, but at the same time supports plugging in an MVC PageLoader that maps URIs to Controllers and Actions, and maps ActionResults resulting from those actions into visuals or Pages. Specifically the controller...
Filed under:
Posted to:

Database Deployment with Visual Studio 10

Visual Studio 2010 (VS 10) Beta1 was released recently...  You can download VS 10 Beta1 from Microsoft download page …. Do check out the update on Visual Studio features for Web Developers on our team blog… We have been discussing about a bunch of deployment features previously and today we will discuss about Database Deployment with VS 10…. VS 10 will allow you to deploy your databases both while creating a web package as well as while publishing directly to a web server provided by your hoster… To catch up on the previous web deployment posts check out the below links: Web Deployment with VS 2010 and IIS Web Packaging: Creating a Web Package using VS 2010 Web Packaging: Creating web packages using MSBuild How does Web Deployment with...

1 2 3 4 5 Next > ... Last »