Showing results for Razor - .NET Blog

Nov 16, 2018
5
0

Razor support in Visual Studio Code now in Preview

Daniel Roth
Daniel Roth

Earlier this week we released a preview of support for working with Razor files (.cshtml) in the C# extension for Visual Studio Code (1.17.1). This initial release introduces C# completions, directive completions, and basic diagnostics (red squiggles for errors) for ASP.NET Core projects. Prerequisites To use this preview of Razor support in Visu...

ASP.NETASP.NET Core
Jul 11, 2018
0
0

Razor Improvements – Feedback Wanted

Justin Clareburt (MSFT)
Justin Clareburt (MSFT)

Recent releases of Visual Studio 2017 focus greatly on improving the experience of working with Razor. The improvements address the most pressing customer-facing issues like formatting changes and providing general performance and reliability for IntelliSense. Now that the fixes and enhancements are publicly available, we would like to learn more a...

ASP.NETVisual Studio
Mar 1, 2018
0
0

ASP.NET Core 2.1.0-preview1: Razor UI in class libraries

Daniel Roth
Daniel Roth

One frequently requested scenario that ASP.NET Core 2.1 improves is building UI in reusable class libraries. With ASP.NET Core 2.1 you can package your Razor views and pages (.cshtml files) along with your controllers, page models, and data models in reusable class libraries that can be packaged and shared. Apps can then include pre-built UI compon...

ASP.NETASP.NET Core
Dec 17, 2014
0
0

ASP.NET MVC 5.2.3, Web Pages 3.2.3 and Web API 5.2.3 Beta releases

Yishai G_
Yishai G_

While the MVC team is working hard on MVC 6 as part of the ASP.NET 5 effort, we also keep working on the 5.x packages. Today we are releasing a Beta of ASP.NET MVC 5.2.3, Web Pages 5.2.3 and Web API 5.2.3.This preview release addresses 12 issues. Here is the full list.Highlight of issues fixedWeb API Issues2092 Significant performance improvement i...

ASP.NET
May 27, 2014
0
0

Release Candidates for ASP.NET MVC 5.2, Web API 2.2 and Web Pages 3.2

Kanchan Mehrotra (Microsoft)
Kanchan Mehrotra (Microsoft)

The release candidate NuGet packages for ASP.NET MVC 5.2, ASP.NET Web API 2.2 and ASP.NET Web Pages 3.2 are now live on the NuGet gallery!Download this releaseYou can install or update the release candidate NuGet packages for ASP.NET MVC 5.2, ASP.NET Web API 2.2 and ASP.NET Web Pages 3.2 using the NuGet Package Manager Console, like this: Prereq...

ASP.NET
Mar 4, 2014
0
0

ASP.NET MVC 5 Lifecycle Document Published

cephalin
cephalin

Fresh out of the oven is a PDF document that charts the lifecycle of every ASP.NET MVC 5 application. Many of you have requested this document over the years and we're glad to finally put it in your hands now. You will find the PDF document very similar to the ASP.NET application lifecycle topic in its approach. It's a graphical representation of t...

ASP.NET
Jul 10, 2013
0
0

How does VS determine which version of Razor engine to use when editing razor webpage files

Xinyang Qiu
Xinyang Qiu

In VS2013 Preview, we released new Razor V3 runtime and design time Engine to support MVC5 and Razor V3 website’s runtime and design time behavior. Unlike Razor V2 runtime and design time, VS2013 did not GAC these binaries. Instead, the binaries are installed in the project bin folder when corresponding NuGet package is installed, and in &ldq...

ASP.NET
Mar 6, 2012
0
0

Visual Studio 11 Beta Razor editor issue workaround

Web Development Tools Microsoft
Web Development Tools Microsoft

We found Visual Studio 11 Beta hits a crash bug when editing a Razor page (cshtml/vbhtml) in a MVC4 project or a Razor2 Website if the indenting option for the HTML editor is set to Block instead of Smart. The workaround is to go to Tools->Options->Text Editor->HTML->Tab and change the indenting option to Smart.HTML smart indenting is a...

ASP.NET
Mar 24, 2011
0
0

Razor tooling for MVC3 RC with Visual Studio 2010 Sp1 RTM

Web Development Tools Microsoft
Web Development Tools Microsoft

Do you see that Razor colorization, intellisense has stopped working after you have installed Visual Studio Sp1 RTM? The reason is that you might have MVC3 RC installed on the box which is not compatible with Visual Studio 2010 Sp1 RTM. To fix, you would need to install MVC3 RTM. Following are the details of the issue.What’s the issue?Razor i...

ASP.NET
Jan 20, 2011
0
0

How to get Razor intellisense for @model in a class library project

Web Development Tools Microsoft
Web Development Tools Microsoft

Many of us follow a modular architecture and create MVC3 Razor view in a separate class library project. Following  is a screenshot of the class library project that I have created. Now if I open a view with @model typed in it, I notice  that it shows squiggle for @model and no intellisense is shown. (error: There is build provider regis...

ASP.NET