Contents tagged with Visual Studio 2010
-
Declarative helpers in Razor
ASP.NET Web Pages Beta 1 have support for Helpers, which are methods written in C# or Visual Basic, and returns IHtmlString. They can return HTML that is displayed on the page. If you choose to create helpers that way, you would need to have your HTML in an assembly, which makes it different to modify. Because of that, the new version of Razor supports declarative Helpers that you can create directly on the page. They work in both ASP.NET MVC 3 Beta and ASP.NET Web Pages Beta 2, which is included in WebMatrix.
-
Generate CSS Sprites in ASP.NET
Something that is very common on websites is small images that is used to make links and other things look better. These small images is either added as a background image for the link, or as a separate image. When you load these images, they are requested and downloaded separate. Since the browser only make a small number of requests at once, it can take a while before all images is loaded on the page. To solve this, you can use CSS Sprites.
-
Tävling: Skriv en artikel och vinn en Arc Mouse!
Är du sugen på att vinna ett eget exemplar av Microsoft Arc Mouse?
-
Visual Studio 2010 Beta 2 släppt!
Microsoft släppte för någon timme sedan Visual Studio 2010 Beta 2. Jag hade läst att det skulle komma under dagen så jag satt och slet ut F5-knappen idag. :-)
-
Visual Studio 2010 och .NET Framework 4.0 ute!
Microsoft har nu under kvällen släppt Visual Studio 2010 och .NET 4.0! Det finns för tillfället dock enbart som VHD, men lär komma som “vanligt” snart också.
-
Strukturera upp projekten i Visual Studio
När man skapar ett nytt projekt i Visual Studio så kan man se att vissa filer hör ihop genom att de får ett + vid sidan som kan fällas ut. Ett exempel är default.aspx som kan ha default.aspx.cs och default.aspx.designer.cs.