{"id":3644,"date":"2009-05-20T13:00:00","date_gmt":"2009-05-20T13:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/webdev\/2009\/05\/20\/visual-studio-2010-and-asp-net-4-0-beta1\/"},"modified":"2009-05-20T13:00:00","modified_gmt":"2009-05-20T13:00:00","slug":"visual-studio-2010-and-asp-net-4-0-beta1","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/visual-studio-2010-and-asp-net-4-0-beta1\/","title":{"rendered":"Visual Studio 2010 and ASP.Net 4.0 (Beta1)"},"content":{"rendered":"<\/p>\n<p>The public release of Visual Studio 2010 Beta 1 is now available and can be downloaded <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkId=147407\">here<\/a>.<\/p>\n<p>This is one of the most compelling updates to Visual Studio we\u2019ve seen in years.&#160; The entire IDE has been refreshed with a new look and all the code editors including the HTML and ASPX editors have replaced with a new extensible editor based on WPF.<\/p>\n<p>One of the reoccurring themes throughout Visual Studio 2010 is developer productivity.&#160; For example integrated into the new code editors is a consume first workflow where you can start calling methods on classes even before they exists.&#160; Then you can have VS generate the new code extending the class as you type.<\/p>\n<p>Community is another theme in Visual Studio.&#160; Integrated into the new project and new item dialogs is the Visual Studio Gallery containing templates from the community.&#160; There is also an Extension Manager that makes it easy to add community developed extensions to Visual Studio.<\/p>\n<p>A good overview of the breath of new features in Visual Studio 2010 can be found on <a href=\"http:\/\/blogs.msdn.com\/jasonz\/archive\/2009\/05\/18\/announcing-vs2010-net-framework-4-0-beta-1.aspx\">Jason Zander\u2019s Blog<\/a>.<\/p>\n<h2>New for the Web<\/h2>\n<ul>\n<li>Dynamic IntelliSense for JavaScript with vastly superior performance and completeness relative to VS08 <\/li>\n<li>A new editor for web developers with code-focused productivity through HTML\/ASP.Net snippets <\/li>\n<li>Seamless packaging and publishing of web applications to hosted and enterprise IIS servers <\/li>\n<li>Config transformations for packaging and deployment scenarios <\/li>\n<li>Standards based CSS 2.1 rendering in Design View <\/li>\n<li>Silverlight 3 support with interactive XAML designer <\/li>\n<li>Multi-targeting support to build applications for ASP.NET 2.0, 3.5 and 4.0 <\/li>\n<\/ul>\n<h2>\n<h5>Dynamic IntelliSense for JavaScript<\/h5>\n<\/h2>\n<p>This is one of the coolest features in Visual Studio 2010.&#160; IntelliSense for dynamic languages like JavaScript has always be problematic.&#160; Types and even functions can be added to classes dynamically at runtime.&#160; Now in Visual Studio you\u2019ll have IntelliSense on these dynamically created types.&#160; Shown below is an example where jQuery was dynamically extended with a new detonate effect and the IntelliSense that follows.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/16\/2019\/02\/image_16.png\"><img decoding=\"async\" style=\"border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2009\/05\/image_thumb_7.png\" width=\"570\" height=\"304\" \/><\/a> <\/p>\n<\/p>\n<h3>\n<h5>Snippets for HTML and JavaScript<\/h5>\n<\/h3>\n<p>HTML, ASPX and JavaScript files now have full support for Visual Studio\u2019s snippets.&#160; No more having to type <font color=\"#ff0000\">runat<\/font><font color=\"#0000ff\">=&quot;server&quot;<\/font> on every control.&#160; There are hundreds of new snippets included in Visual Studio 2010.<\/p>\n<p>For example field validation can now be added in just a few key strokes.&#160; After the snippet is inserted you\u2019ll only need to fill-in the unique pieces of information highlighted below.<\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"2\" width=\"400\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"200\"><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/16\/2019\/02\/image_18.png\"><img decoding=\"async\" style=\"border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2009\/05\/image_thumb_8.png\" width=\"351\" height=\"363\" \/><\/a><\/td>\n<td valign=\"top\" width=\"200\"><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/16\/2019\/02\/image_20.png\"><img decoding=\"async\" style=\"border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2009\/05\/image_thumb_9.png\" width=\"604\" height=\"171\" \/><\/a> <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>For a glimpse of the productivity gains possible with HTML snippets check out <a href=\"https:\/\/channel9.msdn.com\/pdc2008\/TL48\/\">Jeff King\u2019s PDC demo<\/a>.&#160; Skip forward about 13 minutes into the video to go immediately to the snippets demo.<\/p>\n<h5>Packaging and Deployment<\/h5>\n<p>Visual Studio 2010 now has the ability to completely package and deploy a web application including all it\u2019s IIS settings, Databases and Application logic.&#160; <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"2\" width=\"771\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"200\"><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/16\/2019\/02\/image_4.png\"><img decoding=\"async\" style=\"border-right-width: 0px;margin: 0px 25px 0px 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px\" title=\"image\" border=\"0\" alt=\"image\" align=\"left\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2009\/05\/image_thumb_1.png\" width=\"342\" height=\"496\" \/><\/a><\/td>\n<td valign=\"top\" width=\"569\">There is a new 1-click publishing experience that simplifies publishing and updating your sites.&#160; <\/p>\n<p>In addition to 1-click publishing there are extensive packaging options to control what specific IIS settings you want included with your package.           <\/p>\n<p>You can even include custom database scripts to run when your package is installed.           <\/p>\n<p>As part of the packaging process you can also run custom transforms on web.config that allow you update any section of web.config with custom settings unique to the deployment.           <\/p>\n<p>For example you can replace database connection strings and web service end points.           <\/p>\n<p>Vishal Joshi has an excellent post on covering the new deployment features <a href=\"https:\/\/channel9.msdn.com\/posts\/VisualStudio\/Web-Development-and-Deployment-with-Visual-Studio-2010\/\">here<\/a>.           <\/p>\n<p>Vishal also has posted a general Visual Studio 2010 overview <a href=\"http:\/\/vishaljoshi.blogspot.com\/2008\/12\/vs-2010-for-web-developer-previews.html\">here<\/a>.           <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&#160;<\/p>\n<h5>CSS 2.1 Layout Rendering in Design View<\/h5>\n<p>The HTLM and ASPX designer has been updated with support for CSS 2.1 layout rendering including attribute selectors.&#160; The designer will now faithfully render your CSS 2.1 standards compliant markup.<\/p>\n<h2>Getting Started<\/h2>\n<p>Get started now by downloading <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkId=147407\"><strong>Visual Studio 2010 Professional Beta 1<\/strong><\/a><\/p>\n<p>As with any software development process, getting customer feedback in a timely manner helps us make better products.&#160; We are looking forward to hearing your feedback on this Beta.&#160; <\/p>\n<p>Please visit the <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkID=151797\">Visual Studio 2010 and .NET Framework 4 Beta 1 site<\/a> to learn more and to download the Beta, submit product feedback, link to forums or find additional information about the Beta.&#160; <\/p>\n<p><b><\/b><\/p>\n<p>There is an extensive whitepaper describing all the new ASP.Net 4.0 features <a href=\"http:\/\/www.asp.net\/learn\/whitepapers\/aspnet40\/\">here<\/a>.<\/p>\n<p>Scott Hanselman has a great ASP.Net 4.0 Whirlwind Tour <a href=\"http:\/\/www.hanselman.com\/blog\/ASP4WhirlwindTourAroundNET4AndVisualStudio2010Beta1.aspx\">here<\/a>.<\/p>\n<p>An update for ASP.Net MVC compatible with Visual Studio 2010 Beta 1 will be coming in June.<\/p>\n<p>To find out about ASP.Net MVC for Visual Studio 2010 Beta 1 check out Phil Haack\u2019s blog <a href=\"http:\/\/haacked.com\/archive\/2009\/05\/18\/aspnetmvc-vs2010-beta1.aspx\">here<\/a>.<\/p>\n<p>To ask questions about the new web specific features in Beta 1 check out these forums:<\/p>\n<blockquote>\n<p><a title=\"http:\/\/forums.asp.net\/1206.aspx\" href=\"http:\/\/forums.asp.net\/1206.aspx\">Visual Studio 2010 Beta 1 (on ASP.Net Forums)<\/a>&#160;<\/p>\n<p><a href=\"http:\/\/social.msdn.microsoft.com\/Forums\/en-US\/webdevelopmentprerelease\/threads\">Visual Studio 2010 &amp; .NET Framework 4 Beta 1 Web Development Forum<\/a><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>The public release of Visual Studio 2010 Beta 1 is now available and can be downloaded here. This is one of the most compelling updates to Visual Studio we\u2019ve seen in years.&#160; The entire IDE has been refreshed with a new look and all the code editors including the HTML and ASPX editors have replaced [&hellip;]<\/p>\n","protected":false},"author":404,"featured_media":58792,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197],"tags":[7265,31,7301,7298,147,7323,7324,7329],"class_list":["post-3644","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aspnet","tag-announcements","tag-asp-net","tag-beta","tag-bradleyb","tag-visual-studio","tag-visual-studio-2010","tag-vs10","tag-web-deployment"],"acf":[],"blog_post_summary":"<p>The public release of Visual Studio 2010 Beta 1 is now available and can be downloaded here. This is one of the most compelling updates to Visual Studio we\u2019ve seen in years.&#160; The entire IDE has been refreshed with a new look and all the code editors including the HTML and ASPX editors have replaced [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/3644","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/404"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=3644"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/3644\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/58792"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=3644"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=3644"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=3644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}