|
Julian Michael wrote: MVP Rest Web Service Re-reading your post I wonder if you have misunderstood what the person asking you to do this work meant by MVP.
MVP can mean Model View Presenter or it can be Minimum Viable Product - I am going to put my bet on it being the latter.
I which case there will be Microsoft tutorials out there for how to create a WEB API REST service.
Where things get a bit tricky is the security side. You can usually knock up a basic REST service in a couple of hours.
Security considerations can add a bit of time to a project.
Tutorial: Create a web API with ASP.NET Core MVC | Microsoft Docs[^]
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
Thank you Guy for the pointer, I have been spending a lot of time researching and the best route i believe would be using WEB API is the solution but wondered whether choosing .net or core would make too much of a difference. I understand core is new and cross platform
|
|
|
|
|
I agree with you regarding Web API.
As for .NET core it's not something I have experience with.
I would suggest not using it to begin with as it's probably worth getting something working with standard .NET and then if you really need to you can investigate porting it to core.
The reason I say this is because I am aware that core did require some workarounds in the past, which may now be fixed. You only really need to use core if you are not going to be hosting the API on a Windows server.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
modified 22-Apr-19 3:12am.
|
|
|
|
|
Thank you again Guy.
.net it is
Have a good Day......
|
|
|
|
|
You're welcome
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
To be honest, for REST I would advise .NET Standard or .NET Core as opposed to the old framework. It's faster, leaner, more likely to be supported and has some great enhancements in the way it takes care of HTTP lifetime.
This space for rent
|
|
|
|
|
I hadn't even thought of that. Silly business acronyms crossing into ours.
"Never attribute to malice that which can be explained by stupidity."
- Hanlon's Razor
|
|
|
|
|
Ask and thou shalt receive:
/ravi
|
|
|
|
|
I know you meant well, but that article works best to build a basic demo or POC, it's not demonstrating production ready code.
|
|
|
|
|
Right. I thought a basic tutorial like this one would be more suitable (for someone who's new to development) to get started, than an in-depth discussion of the subject or an SO article.
/ravi
|
|
|
|
|
|
The trouble is that a certain person who lives in a certain-coloured house is making his "peeps" cry wolf so often that risk reports are no longer trusted.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Got here yesterday, so much to see and do. Went to the Vatican museum first thing, very beautiful but I had no idea everyone on the planet would be there.
I do all my own stunts, but never intentionally!
JaxCoder.com
modified 21-Apr-19 3:38am.
|
|
|
|
|
I thought you were going to Italy?
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Had to make a slight detour, but back on track now.
I do all my own stunts, but never intentionally!
JaxCoder.com
|
|
|
|
|
Beautifull place, friendly people, and the smell of pizza everywhere
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Mike Hankey wrote: but I had no idea everyone on the planet would be there
Well, DUh!!! especially on holy week.
I'd rather be phishing!
|
|
|
|
|
And, did you find any signs of the "Illuminati" during your investigations
|
|
|
|
|
Probably not … they are a secret society - sssst … keep your voice down
|
|
|
|
|
So you go to the centre of the Catholic church at Easter and are astonished at the crowds
Mind you we did the same in Vietnam wanted to visit the mausoleum on their national day, the queues were kilometers long. Weird thing was the 5 star hotel concierge did not know if the place was going to be open or he was just pissing around with the tourist.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
To show you how out of touch I am I didn't even know it was easter until we got here. I don't plan the trips my better half does.
I do all my own stunts, but never intentionally!
JaxCoder.com
|
|
|
|
|
Rome is fantastic. We took a guided tour of the Coliseum and Forum. Money well spent
|
|
|
|
|
As someone who has been to Rome many times, over the last several decades, I F***ing hated it, the last time I went there, a few years ago.
I wanted to find a T-shirt printing place that could emblazon T-shirts for me with "Do I look like the kind of moron who wants a F***ing selfie stick?" on the front, and "I Probably know the Vatican better than you do, you F***ing uneducated, half-trained foreigner!" on the back.
Vedi Roma e muori -- da vergogna.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
|
I bit the bullet and installed the FxCop Analyzer on my own pet home projects...
First I ended up with thousands of warnings
Plenty of them useless....
Well then I embraced the global warning suppression...
It is good, but annoyingly create a GlobaSuppression.cs, it is annoying because I would have edited the error.ruleset file instead, which would be better I guess (more prominent), and sometimes it can be tedious to find the annoying rule one want to suppress in the treeview manually...
after that it did find some vaguely less than desirable code. Yeah!
(Remark, I mean just that, not quite a bug, but less than desirable, like incorrect exception constructor or using string.ToLowerInvariant() which is problematic, advised to use ToUpperInvariant(), or use a TaskScheduler explicitely, or use Array.Empty<T>() instead of new T[0])
except it is sometimes quite tedious to review 87 warnings in 4 years old code while I got other things to do... (particularly as I am, for once, "productive"... I do not need one more excuse to procrastinate on the feature that defied me for almost 2 years so far... )
|
|
|
|