Skip to content
This repository has been archived by the owner on Dec 8, 2018. It is now read-only.

Allow inline configure of options in UseDeveloperExceptionPage #219

Closed
Anderman opened this issue Dec 3, 2015 · 1 comment
Closed

Allow inline configure of options in UseDeveloperExceptionPage #219

Anderman opened this issue Dec 3, 2015 · 1 comment
Assignees
Milestone

Comments

@Anderman
Copy link

Anderman commented Dec 3, 2015

In most components you can use an action the set the options.

             app.UseDeveloperExceptionPage(options=>options
                    {
                        SourceCodeLineCount=10;
                    });

instead of

app.UseDeveloperExceptionPage(new Microsoft.AspNet.Diagnostics.ErrorPageOptions() 
           {
             SourceCodeLineCount=10
          });
@Eilon Eilon added this to the 1.0.0-rc2 milestone Dec 15, 2015
@Eilon
Copy link
Member

Eilon commented Dec 15, 2015

@pranavkm the official guidance is here: https://github.com/aspnet/Coherence-Signed/issues/144 (internal issue)

Please sync with @JunTaoLuo so you're not duplicating work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants