Bài đăng

Đang hiển thị bài đăng từ tháng 7 30, 2015

Visual Studio 2013, ASP.NET MVC 5 Scaffolded Controls, and Bootstrap theo http://weblogs.asp.net/

Hình ảnh
A few days ago, I created an ASP.NET MVC 5 project in the brand new Visual Studio 2013. I added some model classes and then proceeded to scaffold a controller class and views using the Entity Framework. Scaffolding Some Views Visual Studio 2013, by default, uses the  Bootstrap 3  responsive CSS framework. Great; after all, we all want our web sites to be responsive and work well on mobile devices. Here’s an example of a scaffolded Create view as shown in Google Chrome browser Looks pretty good. Okay, so let’s increase the width of the Title, Description, Address, and Date/Time textboxes. And decrease the width of the  State and MaxActors textbox controls. Can’t be that hard… Digging Into the Code Let’s take a look at the scaffolded Create.cshtml file. Here’s a snippet of code behind the Create view. Pretty simple stuff. @ using (Html.BeginForm()) { @Html.AntiForgeryToken() <div class = "form-horizontal" > <h4>RandomAct</

Visual Studio 2015 and .NET 4.6 Available for Download theo http://blogs.msdn.com/

Hình ảnh
Today, I am excited to announce that Visual Studio 2015 and .Net 4.6 are  available for download !  These releases are the next big step in the journey we outlined  last November  to bring the productivity of Visual Studio and .NET to any developer working on any kind of application while also delivering a new level of innovation in developer productivity for all Visual Studio developers. To celebrate today’s releases, you can join us online for the  Visual Studio 2015 Release Event ,  check out 60+ on-demand feature videos  or just dive right in and  download Visual Studio 2015 now . The Visual Studio Family Over the last few years, the Visual Studio family has expanded to be broader than ever before.  And the reception from developers has been great to see. At the core is the  Visual Studio IDE  that millions of developers around the world love and use day-in and day-out to build great applications.  Last year, we introduced  Visual Studio Community  - a fully-featured Vis