Commit Graph

313 Commits

Author SHA1 Message Date
Pranav K e1093651ba Target netstandard1.3 2016-06-06 13:48:16 -07:00
Pranav K b7c924b449 Use Microsoft.Extensions.StackTrace.Sources 2016-06-03 16:35:27 -07:00
BrennanConroy 0025724433 Replace PlatformAbstractions with RuntimeInformation 2016-05-31 11:10:40 -07:00
Kiran Challa af19899927 [Fixes #279] Deleted RuntimeInfo middleware, sample and tests 2016-05-16 13:12:40 -07:00
Rowan Miller 9a411df59f Merge branch 'release' into dev
# Conflicts:
#	src/PageGenerator/project.json
2016-05-10 12:34:53 -07:00
Rowan Miller b9565b9ba3 Include instructions for PMC migrations commands
Update database error page to include instructions for using Package Manager Console commands to add/apply migrations.

Resolves #290
2016-05-10 12:08:12 -07:00
Pranav K b06f6266d5 Merge branch 'release' into dev 2016-05-05 08:28:16 -07:00
Pranav K 3a86d941d6 Remove includes and excludes 2016-05-04 09:11:12 -07:00
Pranav K f94362dca9 Merge branch 'release' into dev 2016-05-02 16:10:31 -07:00
Pranav K 77fbeec8bb Fix build break 2016-05-02 16:10:21 -07:00
Pranav K 53327df4fc Merge branch 'release' into dev 2016-05-02 14:55:45 -07:00
Pranav K 0b393fbc04 Fix build warnings 2016-05-02 13:21:03 -07:00
Ryan Brandenburg 48b436ec8a Allow query string on ReExecuting status code page 2016-05-02 10:57:20 -07:00
Pranav K 8de0f36bf2 Merge branch 'release' into dev 2016-04-26 10:07:43 -07:00
Pranav K ba6044a5f3 Remove references to IApplicationEnvironment \ IRuntimeEnvironment 2016-04-26 09:42:31 -07:00
Pavel Krymets 48c7c3c1d2 Merge branch 'release' into dev 2016-04-18 17:04:31 -07:00
Pavel Krymets 09ce98ec41 Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 17:04:24 -07:00
Rowan Miller c4888ba13a Merge branch 'release' into dev 2016-04-18 14:13:20 -07:00
Rowan Miller a8bb790596 🐛 Fix Apply Migrations button
During all the changes to how options are handled etc. we ended up where
app.UseDatabaseErrorPage() would no longer register the migrations
middleware that allows the "Apply Migrations" button to work.

Resolves aspnet/EntityFramework#4742
2016-04-18 10:43:22 -07:00
Pavel Krymets 673eae72c0 Merge branch 'release' into dev 2016-04-15 09:44:24 -07:00
Pavel Krymets 4432018ebe Migrate tests, tools and samples to portable 2016-04-15 09:34:48 -07:00
ryanbrandenburg 05d740076b Allow collapse and expand of source code 2016-04-12 14:25:36 -07:00
Pranav K 05ee0897fb Removing imports from src projects 2016-04-08 06:49:16 -07:00
Pranav K ea1802c9fd Remove gruntfile usage 2016-04-03 15:50:49 -07:00
BrennanConroy 591ae3c26a React to logging changes 2016-04-01 11:51:00 -07:00
jacalvar d51851f342 Return IServiceCollection from service collection extension methods 2016-03-28 15:13:56 -07:00
Anthony van der Hoorn f387d04af1 Adds timestamp in accordance with hosting example, as well as duration 2016-03-24 15:54:59 -07:00
Anthony van der Hoorn 23976ebd53 Addition of InstanceId to the messages being published. 2016-03-23 12:14:41 -07:00
Eilon Lipton 0f74187a81 Fix package dependencies
Removed some extraneous dependencies and instead made all the
diagnostics packages be independent packages that happen to share some
concepts/source code.

The common Razor base class code was moved to a shared source file. Then
the Diagnostics page, ELM page, and EF database page all use that. Also
updated the page generator to use the new shared code.

See #257
2016-03-15 17:33:10 -07:00
Pranav K f1d588bb54 * Fixing missed changes in EF reaction
* Remove npm install warning.
* Target minimal tfm in Diagnostics.Abstractions
2016-03-12 16:32:59 -08:00
Brice Lambson e57e177224 Don't reference facades 2016-03-10 13:06:19 -08:00
Rowan Miller ed1e22dd77 🐛 dnx => dotnet for migrations command help 2016-03-10 10:06:41 -08:00
Eilon Lipton 3d72f5207f Fix package metadata
Plus a few other pre-Core names.
2016-03-07 22:50:04 -08:00
jacalvar 38b727948b Make ServiceCollectionExtensions consistent 2016-03-04 10:57:30 -08:00
Ajay Bhargav Baaskaran 73a9ed7a64 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:17 -08:00
Doug Bunting 0ae7fd0a93 Remove project name from output path
- aspnet/Coherence-Signed#187
- remove `<RootNamespace>` settings but maintain other unique aspects e.g. `<DnxInvisibleContent ... />`
- in a few cases, standardize on VS version `14.0` and not something more specific
2016-03-02 16:39:31 -08:00
N. Taylor Mullen be3c20cab4 Transition to netstandard.
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:36:28 -08:00
Ajay Bhargav Baaskaran 8bde9b7e72 Enabled xml doc generation 2016-02-17 16:57:39 -08:00
N. Taylor Mullen 9b6d837356 Update project.json to remove redundant System.Runtime dependency.
- This package is pulled in transitively.
2016-02-05 17:22:49 -08:00
John Luo 8d804cfbbc Updating to new CLI 2016-02-03 13:40:06 -08:00
Brennan 4e5c99fabc React to Logging API changes 2016-01-25 09:32:41 -08:00
N. Taylor Mullen a837854f4b Update ASP.NET 5 versions for ASP.NET Core.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:28:34 -08:00
N. Taylor Mullen f5c5816a05 Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:24:16 -08:00
N. Taylor Mullen 6102699916 Rename AspNet 5 folders and files.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:24:07 -08:00
Brennan 88fc5c143a React to Fileprovider namespace changes 2016-01-21 17:08:21 -08:00
Chris R 4d1737708e #241 Fix cookie error page 2016-01-12 15:03:56 -08:00
John Luo 38d50bab1f Fixing xml documentation 2016-01-08 17:45:28 -08:00
John Luo e076040b67 Updating to new options pattern 2016-01-08 17:12:48 -08:00
ryanbrandenburg 886c33f200 * Remove libraries from RuntimeInfoMiddleware 2016-01-05 12:06:07 -08:00
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