Comments (4)
What's the actual result today? No error shows up at all? A bad error shows up?
from hosting.
Eilon,
After adding try catch block, I got error like below. Error message can be polished by removing “TODO:”.
But I didn’t think of adding try catch block to see if code is throwing any error till you asked on this thread…
for me server was not starting ☹ and same code was working in CTP3.
"TODO: Configure or Configure method not found"
at Microsoft.AspNet.Hosting.Startup.StartupLoader.LoadStartup(String applicationName, String environmentName, IList`1 diagnosticMessages)
at Microsoft.AspNet.Hosting.Startup.StartupManager.LoadStartup(String applicationName, String environmentName)
at Microsoft.AspNet.Hosting.HostingEngine.EnsureApplicationStartup(HostingContext context)
at Microsoft.AspNet.Hosting.HostingEngine.EnsureApplicationDelegate(HostingContext context)
at Microsoft.AspNet.Hosting.HostingEngine.Start(HostingContext context)
at ConsoleAppWithMvcWebapi.Program.Main(String[] args)
-Anand
From: Eilon Lipton [mailto:[email protected]]
Sent: Thursday, September 18, 2014 1:00 PM
To: aspnet/Hosting
Cc: Anand Paranjape (ASP.NET)
Subject: Re: [Hosting] If startup.cs doesn't contain Configure method with correct Signature then it should throw meaningful error message (#76)
What's the actual result today? No error shows up at all? A bad error shows up?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/76#issuecomment-56093506.
from hosting.
You're saying that no error shows up at all by default? Does k web
just exit immediately?
from hosting.
Triage: running k web
on a startup without a configure shows the exception. Changing title to remove TODO from the text.
from hosting.
Related Issues (20)
- reading from appsettings in Program.cs using getsetting HOT 5
- IHostedService won't start automatically on IIS even if preload enabled HOT 1
- Unable to activate more than two IhostedService background services HOT 4
- Question on Generic Host logging setup HOT 4
- Roadmap: Apache/NGINX InProc hosting HOT 3
- Make BackgroundService _executingTask protected HOT 2
- Setting ApplicationKey (name) causes a different assembly to be loaded. HOT 10
- Certificate for hosting in Windows Service HOT 1
- Include URL in request finished log message HOT 2
- HostBuilder and headed UWP app on IoT core HOT 4
- Allow hosting startup failures to be detected somehow HOT 2
- can't stop in Task manager HOT 5
- Add TestHost support for ConfigureWebHost
- HostingService not receiving HttpClient through DI HOT 4
- Multiple IServer implementations in the same app HOT 4
- TestServer hangs when an exception is thrown on response starting for big responses
- launchBrowser blocks Visual Studio UI thread HOT 2
- Microsoft.AspNetCore.Hosting.WindowsServices RunAsServiceAsync HOT 1
- ionLifetime
- fixture
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hosting.