|
Richard Deeming wrote: You're setting up IIS as a "reverse proxy" to pass all requests through to the custom web server in a console application.
That's correct, and that makes ASP.NET Core completely different from previous version of ASP.NET. Since ASP.NET Core was designed to be host-agnostic that can run on any platform (OSX and Linux). ASP.NET Core applications are standalone Console applications invoked through the dotnet runtime command. They are not loaded into an IIS worker process, but rather loaded through a native IIS module called AspNetCoreModule that executes the external Console application.
Richard Deeming wrote: It seems there's no way to have an MVC 6 application hosted directly in IIS.
At the moment, yes, there's no direct way. It involves quite of configuration to be able to run on IIS. Perhaps, this article might give you some insights:
[ Publishing and Running ASP.NET Core Applications with IIS^]
PS: The term/name "MVC 6" might be changed in the future, as ASP.NET Core merges MVC and Web API (a.k.a MVC 6). Though Web Pages and SignalR aren't included yet.
|
|
|
|
|
That's great, but as I said, I don't want to host on other platforms. I want to write an ASP.NET site using the full framework, and host it in IIS, as per the "classic ASP.NET hosting" section of Rick's post.
But it seems there's no way to do that if you want the new features like tag helpers or view components. To host in IIS, you're stuck with MVC 5, which doesn't have those features.
It seems that "classic" ASP.NET is now no longer supported, and we're actively being pushed towards .NET Core, even though the tooling isn't ready yet. (For example, read this blog post[^] - almost every step is "manually edit the project file".)
I don't want to write a console application with a custom embedded web server. I already have a perfectly good web server, called IIS. I want to use IIS to host my code, and to take care of things like not locking the files whilst the site is running.
Which means I'm stuck with using MVC 5 or WebForms. And I have to put up with the fact that there will never be any improvements to either.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I completely understand your point. There's no need to rush. ASP.NET Core is very new, and the tooling/hosting/configurations aren't finalized yet. It would take atleast 3-5 years before it gets mature, and hope that by that time they will provide an easy way to host ASPNET Core apps in Windows (IIS).
For the time being, ASP.NET MVC 5 is still the recommended for building production applications. I can feel your frustrations ~ I mean who the f*** doesn't want to use the new cool features in MVC.
|
|
|
|
|
Sounds like MS is trying to compete with Node. Having not used ASP.NET Core at all, just Node, I can tell you that the whole self-hosting thing is awesome. I mean... awesome. On my dev box I'll typically have two servers going... one to host the back end code and one to host the front end requests.
It sounds redundant, but it better smiulates what will happen in a real environment, and without much extra work. Using PHP as an example, I can have Apache going to do my old school hosting PHP back end or whatever. And then crank up a Node server to run my front end on the same box, to allow me to do some pretty nifty things right on the spot... without having to shuffle around project files, etc.
One you get used to it, there simply is no going back.
Jeremy Falcon
|
|
|
|
|
I started looking at ASP.Net Core last night and was reading the documentation about how it is essentially a console app that fires up an instance of IIS server.
I have not been keeping up with current ASP.Net technology for years, still doing webforms. I'm not sure I want to get current. There are lots of changes. Maybe I'll go back into management.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
RyanDev wrote: I have not been keeping up with current ASP.Net technology for years, still doing webforms. I'm not sure I want to get current.
At least jump on ASP.NET MVC v5 first, so you'll get the feel of "real" web development.
RyanDev wrote: There are lots of changes.
In ASP.NET Core, yes. That's why try out MVC first so you'll not get overwhelmed of the changes.
|
|
|
|
|
Thank you for reminding me why I don't use IIS, ASP.NET, and MVC for web server development.
Marc
|
|
|
|
|
Come on Marc, say it. Just say it.
Jaaaa... Vaaaa..... Scccrrrrrrriiiipt
You know you want it.
Jeremy Falcon
|
|
|
|
|
Noooooooooooooo...
...de.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Jeremy Falcon
|
|
|
|
|
|
|
I asked about this a while back, but I'm still curious to know... are there any CPians on here that are into serious development for MT4? I ask, not for questions to ask, but to talk with another dev about something I made a new version of and just get feedback. And yeah, there are other sites probably more suited, but they aren't CP... so who cares.
Jeremy Falcon
|
|
|
|
|
Have you tried Reddit? They might have some discussion on this; possible some developer discussions.
I don't have any experience with MT4 personally, sorry.
|
|
|
|
|
Slacker007 wrote: Have you tried Reddit? Nope, I'm more so looking for someone on here since I just have more an inherent trust with CP, having been here so long.
Slacker007 wrote: I don't have any experience with MT4 personally, sorry. No worries man.
Jeremy Falcon
|
|
|
|
|
Did you have any luck the last time you asked?...here on CP, that is.
|
|
|
|
|
Got a couple bites, but it was also just general chit-chat about forex rather than looking for something in particular.
Jeremy Falcon
|
|
|
|
|
Jeremy Falcon wrote: just general chit-chat about forex rather than looking for something in particular. If you are looking for a specific response, then I think you need to describe what you are talking about in your original post ... which is very vague.
cheers, Bill
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
|
|
|
|
|
That's where the general chit-chat comes into play. I'm sure the specifics will come later.
Jeremy Falcon
|
|
|
|
|
Isn't Forex a brand of condom?
|
|
|
|
|
Close, so very close. I'd link to it, but kid sister rule and all.
Jeremy Falcon
|
|
|
|
|
Googled that. Shouldn't have.
Edit: Lamb skin? Really??
|
|
|
|
|
I thought it was a brand of lager so bad even the Aussies won't drink it.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Hey Jeremy,
yes over here. I developed some MQL support scripts as well as EAs using C# .
Best regards
MW
|
|
|
|
|
Well hey man, welcome to the Forex nerd club. You still have an active interest in Forex/MT or is that a thing of the past?
Jeremy Falcon
|
|
|
|