Pranav K
7e47449f85
Use default encoders all the time
...
Fixes #234
2015-12-29 16:49:06 -08:00
John Luo
298b8baa98
Adding back middleware initialization with options instance.
2015-12-23 16:04:19 -08:00
John Luo
9f1af65abc
Standardize middleware to use configureOption lambda
2015-12-23 11:38:08 -08:00
Hao Kung
8b71e9232f
OptionsModel => Options
2015-12-21 14:57:18 -08:00
Pranav K
e384b7d4d0
Remove ErrorPageOptions
2015-12-15 11:08:47 -08:00
Pranav K
2baf6fecf5
Allow inline configure of options in UseDeveloperExceptionPage
...
Fixes #219
2015-12-15 10:57:24 -08:00
Mohammad Rahhal
8e38584800
Fix typo
2015-12-15 09:49:54 -08:00
ryanbrandenburg
e3fee2fd07
* Fix ErrorPage tabs.
2015-12-10 16:07:19 -08:00
Pranav K
dde06ffdcb
Fixing CoreCLR package version
2015-12-08 18:59:55 -08:00
Pranav K
36cd47bc1f
Move ICompilationException to Diagnostics
...
Fixes #220
2015-12-08 10:16:31 -08:00
Doug Bunting
7a2c20649b
Remove `[SuppressMessage]`s
...
- build break
2015-12-07 20:58:22 -08:00
John Luo
0fd5970b8a
Reacting to verbose rename
2015-12-06 17:42:49 -08:00
Chris R
c8990bcc29
Hosting#318 Add middleware analysis tools, sample.
2015-11-24 11:52:20 -08:00
ryanbrandenburg
c49547245b
* Remove un-used function and prevent jQuery confusion
2015-11-20 12:51:11 -08:00
John Luo
da7fe362c9
Reacting to ApplicationServices removal from HttpContext
2015-11-19 16:32:19 -08:00
Kiran Challa
f468d6789f
Fixed doc comment
2015-11-18 10:07:05 -08:00
N. Taylor Mullen
82574ce6cc
Remove System beta tag in project.json for coreclr packages.
2015-11-12 12:23:56 -08:00
ryanbrandenburg
88ad99d497
* Fix scrolling on error page
2015-11-11 09:19:42 -08:00
Pavel Krymets
740b51e0bc
Make Compilation Abstractions naming consistent with Platform Abstractions
2015-11-06 15:08:07 -08:00
Cesar Blum Silveira
4ced3c51ef
Merge branch 'release' into dev
2015-11-04 10:49:27 -08:00
Cesar Blum Silveira
9e4cd86470
Strong name Microsoft.AspNet.Diagnostics.Entity.
2015-11-03 20:15:45 -08:00
Cesar Blum Silveira
eed6051eb3
Strong name everything except Microsoft.AspNet.Diagnostics.Entity.
2015-11-03 17:35:50 -08:00
Pavel Krymets
4e5900067b
Rename Microsoft.Dnx.Compilation.Abstractions to Microsoft.Extensions.Compilation.Abstractions
2015-11-03 12:09:05 -08:00
Chris R
c239b67368
React to WebEncoders and Http.Abstractions changes.
2015-11-02 17:46:25 -08:00
Pavel Krymets
5e0fa0773d
Rename Microsoft.Dnx.Compilation.Abstractions to Microsoft.Extensions.Compilation.Abstractions
2015-11-02 15:22:08 -08:00
Pavel Krymets
a97d55b10c
Rename Microsoft.Runtime.Abstractions to Microsoft.Extensions.PlatformAbstractions
2015-10-22 19:30:09 -07:00
Pranav K
20f90e9879
Switching to generations TFMs
2015-10-22 00:20:57 -07:00
Rowan Miller
2e884f20f7
📝 Add doc comments to database error page
2015-10-20 10:18:10 -07:00
Rowan Miller
1c26436041
Bring back "Apply Migrations" button on database error page
...
Mostly just a revert of the commit that removed this functionality, with a few changes:
* Perform proper JavaScript encoding in the script part of the database error page Views/BaseView.cs
* Use the builder pattern in the UseXyz extension methods on IApplicationBuilder (per #184 ). Also applying this to DatabaseErrorPageOptions to keep things consistent.
* Fixing a few tests that were getting the context from DI but putting it in a using block so that it got disposed (rather than letting DI handle disposing).
2015-10-20 09:29:15 -07:00
Rowan Miller
111dab7ddf
🐛 No database error page for existing databases
...
When there is an existing database and no migrations are present, then we should just display the standard error page as they are not using migrations and need to adjust their mapping code to match the existing schema.
Resolve #182
2015-10-20 09:23:42 -07:00
John Luo
793504843e
reacting to telemetry rename
2015-10-19 17:17:40 -07:00
ryanbrandenburg
7dac0986c2
* Fix PageGenerator
...
* Generate pages on build
* Add copyable stacktrace to error page
2015-10-16 10:44:55 -07:00
Pranav K
72d63e2613
Replace NotNullAttribute with thrown exceptions
2015-10-09 10:31:01 -07:00
John Luo
7b9cfac65a
Adding telemetry publish for unhandled exceptions to developer exception page and exception handler #180
2015-10-03 17:00:22 -07:00
Pranav K
3657a1a14b
Renaming Microsoft.Framework.* -> Microsoft.Extensions.*
2015-10-03 15:44:46 -07:00
Brice Lambson
b271cdf91d
Update EF commands
2015-09-16 14:03:45 -07:00
Pranav K
d3f1437764
Replacing NotNullAttribute with thrown exceptions
2015-09-14 10:25:22 -07:00
David Fowler
2766113ba9
Remove DiagnosticsPage middleware
...
- It's dead code
2015-09-13 11:13:32 -07:00
Chris R
27a8002e75
Use the new Response.Clear() API.
2015-09-11 10:56:48 -07:00
Pranav K
8dc4ddf195
Adding NeutralResourcesLanguageAttribute
2015-09-10 16:45:07 -07:00
Kiran Challa
5e2db0c585
Removed older extension methods of errorhandler and errorpage
2015-09-10 13:37:04 -07:00
Kiran Challa
d96fbdba93
Renamed the directories
2015-09-09 09:39:15 -07:00
Kiran Challa
1a708b8479
Fixed razor view as its compilation fails due to changed apis
...
Updated PageGenerator to consider the modified Views folder paths
More restructuring of files
2015-09-09 09:38:42 -07:00
Kiran Challa
9044aeff47
Moved files into respective folders for better orgranization
2015-09-09 09:38:40 -07:00
Kiran Challa
c46615dc53
Added new extensions UseExceptionHandler & UseDeveloperExceptionPage
2015-09-09 09:38:39 -07:00
Hao Kung
088f2f81cc
React to options
2015-09-02 14:26:42 -07:00
Chris R
0bb77764d3
Use the new HttpContext.Features API.
2015-08-31 07:51:36 -07:00
Chris R
7b11506cc0
React to string[] -> StringValue changes.
2015-08-28 14:43:26 -07:00
Brice Lambson
8ccfb99624
React to aspnet/EntityFramework#2902
2015-08-24 10:41:56 -07:00
Kiran Challa
09b1c0fa63
[ Fixes #167 ]Error page/handler should reset any buffered data, clear headers, etc.
2015-08-20 10:21:34 -07:00
Kiran Challa
417c7d2374
Fix displaying cookie values
2015-08-20 10:07:23 -07:00
Brice Lambson
e8fc5a970a
React to aspnet/EntityFramework#2831
2015-08-17 10:24:21 -07:00
Kiran Challa
97e66878a7
Reacting to disposable logger provider
2015-08-12 16:07:16 -07:00
Kiran Challa
12e78455d4
Added Content-Type header to RuntimeInfoPage view and reacting to namespace change
2015-08-07 12:47:36 -07:00
Troy Dai
6a606a8c9a
Update CoreCLR versions
2015-08-04 10:15:24 -07:00
Dejan Paležević
4a9029fc9c
Used nameof expression to resolve parameters name
2015-08-03 11:56:04 -07:00
mikary
80e9d35630
React to DNX renames
2015-07-31 12:38:40 -07:00
Victor Hurdugaci
15c0e16a91
React to DNX changes
2015-07-29 03:38:40 -07:00
Kiran Challa
8d583a4718
[ Fixes #157 ] ErrorPage middleware doesn't show source code lines of Razor files
2015-07-28 08:49:53 -07:00
Brice Lambson
6e72a3935d
Merge branch 'release' into dev
2015-07-22 08:34:30 -07:00
Andrew Stanton-Nurse
4656872876
react to DNX renames
2015-07-21 16:43:57 -07:00
Brice Lambson
3a7c0132c1
Revert "React to aspnet/EntityFramework#2613"
...
This reverts commit 97459de509 .
2015-07-21 15:35:20 -07:00
Kiran Challa
fea15eb8de
Removed creation of request id logging scope
2015-07-16 18:51:57 -07:00
Kiran Challa
191ffe1721
Fix null reference exception
2015-07-16 18:03:45 -07:00
Kiran Challa
7c287c8712
Added logging to ErrorPageMiddleware
2015-07-14 21:17:57 -07:00
Kiran Challa
236d4009c3
[ Fixes #40 ] Suppress caching for ErrorHandler
2015-07-14 21:15:51 -07:00
Kiran Challa
8c8490fab4
[ Fixes #112 ] BaseView.ExecuteAsync disposes the response stream
2015-07-14 21:11:46 -07:00
Kiran Challa
f7e7ce53a5
[ Fixes #145 ] Fix typo "collapsable" to be a real word ("collapsible")
2015-07-14 20:50:32 -07:00
Brice Lambson
97459de509
React to aspnet/EntityFramework#2613
2015-07-14 10:16:41 -07:00
Victor Hurdugaci
4cbc9ace9c
Add repository information to project files
2015-07-01 19:48:35 -07:00
Chris R
26a6b5dc33
#28 Remove environment page from the error page.
2015-06-30 17:05:42 -07:00
Arthur Vickers
83c6ea7116
React to EF namespace changes
2015-06-30 10:59:15 -07:00
Arthur Vickers
33a673cd35
React to EF name changes
2015-06-23 16:00:32 -07:00
Arthur Vickers
3b29dbdd98
Fix old way of getting Migrator
2015-06-19 11:55:58 -07:00
Arthur Vickers
28d2d2e5d7
Add using directive
2015-06-19 11:18:18 -07:00
Arthur Vickers
b4a7d09ad2
React to removal of RelationalDatabase class.
2015-06-19 11:07:28 -07:00
Arthur Vickers
a07065c02e
React to removal of AsRelational
2015-06-19 09:39:41 -07:00
Chris R
9e547d5a9d
Remove extra bracket from error page view.
2015-06-16 10:25:54 -07:00
Henk Mollema
72d8c12ca3
Removed unused resource string
2015-06-16 09:51:11 -07:00
Henk Mollema
0da9e2bec5
Remove ErrorPageOptions properties except SourceCodeLineCount
...
- Removed all properties except `SourceCodeLineCount`
- Updated ErroPageMiddleware (including some minor code-style changes)
- Updated CompilationErrorPage.cshtml and ErrorPage.cshtml
- Added `run` command to PageGenerator project.json to execute from command line
- Include cookies on error page
- Removed showSource parameter
- Remove unused exception parameter
2015-06-16 09:51:10 -07:00
Chris R
ef4ab17700
React to OnSendingHeaders rename.
2015-06-12 15:48:45 -07:00
Henk Mollema
6dbbe831c4
Removed SetDefaultVisibility for ErrorPageOptions
...
- Removed `SetDefaultVisibility` method from `(Database)ErrorPageOptions`
- `(Database)ErrorPageOptions` properties are now auto-properties since there is no default visibility anymore
- Removed `isDevMode` parameter from `ErrorPageMiddleware` ctor
- Removed comments from `ErroPageExtensions.UseErrorPage()`
- Updated Entity tests
#130
2015-06-09 10:14:22 -07:00
Troy Dai
39fa2782d2
Merge branch 'release' into dev
2015-06-03 11:52:58 -07:00
Troy Dai
499de6536b
Fix Diagnostics build break
2015-06-03 11:50:51 -07:00
N. Taylor Mullen
3fa5dee2d7
React to aspnet/Razor#140
2015-05-29 14:52:23 -07:00
Eilon Lipton
75d047795b
Merge pull request #131 from hishamco/dev
...
Using [NotNull]
2015-05-07 21:53:38 -07:00
Troy Dai
0440ca751e
React to common package name change
2015-05-07 09:36:55 -07:00
Hisham Abdullah Bin Ateya
1f36174da5
Using [NotNull]
2015-05-07 00:32:34 +03:00
Brice Lambson
8508c6256e
React to WithCurrentCulture removal
2015-05-04 10:38:59 -07:00
N. Taylor Mullen
b1643b438a
Update LICENSE.txt and license header on files.
2015-05-01 13:46:24 -07:00
Troy Dai
02d163eaaf
React to DNX package name change
2015-05-01 11:06:38 -07:00
Brennan
976a4c6511
React to Logging package rename
2015-04-30 00:16:12 -07:00
Brennan
94fb2ce557
Revert "Revert "Interfaces->Abstractions""
...
This reverts commit 12a58a0795 .
2015-04-29 23:51:25 -07:00
Brennan
12a58a0795
Revert "Interfaces->Abstractions"
...
This reverts commit 80b66cfde3 .
2015-04-29 23:43:12 -07:00
Brennan
80b66cfde3
Interfaces->Abstractions
2015-04-29 16:28:45 -07:00
Chris Ross
af641b1ca5
Handle removal of HttpResponse.SendAsync extension.
2015-04-23 11:40:47 -07:00
Praburaj
b27c6fc1e2
Fixing runtime info middleware on coreclr
...
Also adding more information like OS, runtime type and architecture to the info page.
2015-04-17 11:47:46 -07:00
Pranav K
3b2ded5652
Adding support for printing multiple compilation failures
2015-04-16 14:54:08 -07:00
Praburaj
1c648fa905
Revert "Fixing runtime info middleware on coreclr"
...
This reverts commit 7f83cc4e99 .
2015-04-15 13:55:21 -07:00
Praburaj
5a289a2c9b
Merge branch 'packagename' into dev
2015-04-15 13:50:12 -07:00