Angular SpaTemplate 2.0.0-rc2-final #166

Closed
opened 2025-08-09 17:15:15 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @ghost on 2/18/2018

Trying out the RC2 Angular SpaTemplate and its great.

Previously there was a view to handle /Home/Error, do we have to configure anything now that the views are gone?

// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
        public void Configure(IApplicationBuilder app, IHostingEnvironment env)
        {
            if (env.IsDevelopment())
            {
                app.UseDeveloperExceptionPage();
            }
            else
            {
                app.UseExceptionHandler("/Home/Error");
            }
*Originally created by @ghost on 2/18/2018* Trying out the RC2 Angular SpaTemplate and its great. Previously there was a view to handle `/Home/Error`, do we have to configure anything now that the views are gone? ``` // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IHostingEnvironment env) { if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); } else { app.UseExceptionHandler("/Home/Error"); } ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#166
No description provided.