ASP.NET Core
Monday, 12 June 2017
How to set Development Environment
Following code add the
startup.cs
file
env.EnvironmentName = EnvironmentName.Development;
if
(env.IsDevelopment()) { app.UseDeveloperExceptionPage(); app.UseBrowserLink(); }
else
{ app.UseExceptionHandler("
/Home/Error
"); }
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment