how do i start to intergrate uber with asp.net mvc 4 - asp.net-mvc

I m currently a ASP.NET programmer and my system needs to pull data from Uber, how can i start to do this? I have gone through the API Preference but don't know where to put in my code...

There's an SDK for .net - https://github.com/wadewegner/uber-sdk-for-net/
If you look here, there's a sample
https://github.com/wadewegner/uber-sdk-for-net/tree/master/samples/Web
While I normally don't like leaving 'link only' answers, this question is so broad that I feel that this is the only way to answer it!

Related

Website development - Which tools and languages? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
for a project I will need to develop a website. The problem is: This is the first time for me.
I am currently planning and drawing the outlines and also trying to find out which technique will suit the project best and how to approach this task.
The website should retrieve data from an API by using RESTful HTTP-Commands and present the results to the registered user.
My programming experience so far is mainly C++ and some C#/.NET which I used for the creating the API.
So, which language and script do you think would suit best? I have looked into ASP.NET MVC a bit because of my previous experience with .NET. Is that a proper choice?
Apart from
that, I would prefer a graphical designer for the HTML-coding. What tools would you use? I looked into Google Web Designer, but I was not quite persuaded. What would you recommend?
Thanks in advance!
Eteokles
I agree with Sami, if you have basic knowledge in CSharp/.Net it is not a bad idea to use ASP.NET MVC/API to setup your project. But you should bear platform dependence in mind if you are not using .NET Core, which is actually in Version 1.0.0 RC 2. So if you use ASP.NET 4 you will have to use a Microsoft Server to deploy your application. If that is no problem for you, then I would recommend to have a look at Microsoft Virtual Academy. Developing ASP.NET applications with Visual Studio is a pleasure, you have great debugging tools and you can create Unit Tests to test your application.
Unfortunately there is nothing like a graphical designer for your HTML frontend in Visual Studio. But if you are using Bootstrap you can reach your design goals really fast. Also Bootstrap is "mobile first" which means, that even if a user accesses your Website over a mobile device (Tablet, Smartphone) the site will look great. The basic ASP.NET 4 MVC template comes with a Bootstrap layout, you could build upon.
If you want to enable users of your application to create user accounts you can choose the ASP.NET MVC template with "individual user account" ASP.NET Identity
In conclusion I want to provide you another link where ASP.NET is compared to another very popular and easy to learn language for developing websites PHP vs. ASP.NET. I would recommend ASP.NET after using PHP for years, because thinks like asynchronous programming and using Entity-Framework to handle your database needs.
I would also recommend you to do further reading on the pros and cons of different tools and languages and after you have a general overview over the available solutions you should compare which language and which tools match your application needs most. Happy coding.
Based on your experience/knowledge, ASP.Net, MVC and API seems a good to go option. You might need to understand Javascript/jQuery and JSON to communicate with API. It's pretty simple like:
$.getJSON("http://localhost/api/products", function(result){
$.each(result, function(i, field){
$("div").append(field + " ");
});
})
For UI, Bootstrap is always a good choice and easily get your layout at
Layoutit
For Web API, a good tutorial found at Web API in ASP.Net MVC
Hope this helps!

Todo list or bug tracking solution in MVC

I would like to develop a tool to track my todo list. I would like to start with an open-source asp.net MVC solution. To gain time, it may be helpful for me to start with an existing solution and adjust it to my specific needs.
So I searched the web (codeplex, ...) and don't find usable solution to start with. Maybe someone here can inform me some existing ASP.NET MVC solution?
Something like a todo list or a bug tracking solution.
Thanks anyway.
Here you go!
Tool written with Asp.Net and Backbone.js

ASP.net MVC3 alternatives to DotNetNuke?

I am using legacy DNN (CMS + its portal capabilities, though CMS capabilities are not that important, its portal capabilities are used extensively) to build web apps. Am looking to move into ASP.net MVC3, but am wondering if there are any frameworks which gives me the same portal capabilities as DNN while using ASP.net MVC3.
At the risk of being ridiculous, a simpler way to frame the above question would "how can we use ASP.net MVC3 to build a portal based application like stackoverflow/stackexchange".
I tried best to find answers to this question in meta.stackoverflow, but could not.
These are the meta questions I went thru, to find answers (mentioning here to say that I did my homework before asking this question)
https://meta.stackexchange.com/questions/55725/does-stackexchange-2-0-share-the-same-codebase-with-so
http://blog.serverfault.com/2011/02/11/stack-exchanges-architecture-in-bullet-points/
I am posting this question in SO and not in meta.stackexchange, because I am looking for building portal based webapps with MVC3. Stackoverflow/stackexchange happens to be one (well known) implementation, there can be other implementations as well.
Edit: I also saw http://code.google.com/p/stacked/, but it does not directly address my "mvc portal" part of the question
A good place to start might be the Orchard project:
http://docs.orchardproject.net/Documentation/frequently-asked-questions
There are at least 3 projects I am aware that are open source SO type projects:
2 are non asp.net
There is Stacked while Phil made a HaackedOverflow project though I have never seen source code for it.
Umbraco V5.O is based on MVC - not sure, unfortunately, what that means exactly in terms of how it affects how you develop.
Also, as of this answer, its just heading into beta

Windows Workflow Foundation 4 and ASP.NET MVC

We are evaluating Windows Workflow Foundation 4 to use in MVC 3 based Web Applications. We would like to create flexible order workflows for different projects.
Does anybody know good information about the general architecture or hands-on-labs for this kind of application?
Some concrete questions would be:
how can you activate a specific controller/action from the workflow?
what is the best way to communicate between the workflow and the web application (events, wcf services, ...)?
This is a nice article on how to start working with WF4 in your ASP.NET MVC app.
Integrating a persisted WF4.0 workflow with mvc
Another example with video is at below link. (Note: The code attached in the link might not be executable, but it will give some concepts when you study the code and watch the video)
https://channel9.msdn.com/Shows/Workflow-TV/endpointtv-WF4-in-the-Real-World-Microsoft-Support-ASPNET-MVC-Wizard-Framework
This link is showing how we can preserve the data between requests using tempdata. Since it is a large explanation, I am not repeating the same again here.
Sadly, the videos for this seem to be down but the docs seem to try to show you a way!
Sourced from an old post/response from 2009. An alternative is found on CodeProject.com, which is also quoted on this one with a longer list of resources.

Is anyone using the ASP.NET MVC Framework on live sites? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Is it ready for that?
I've been playing with it for a short amount of time and it seems quite reasonable. Is anyone using it for live sites?
any issues to be aware of?
Well, stackoverflow.com is.
Yes, this one.
Yes, www.jobtree.com.au is. I also have another new site coming online in the next few days www.afterkickoff.com/football that is using it.
http://weblogs.asp.net/mikebosch/archive/2008/05/05/gallery-of-live-asp-net-mvc-sites.aspx
We are using it on Birmingham Museum and Art Gallery's Pre-Raphaelite collection online and we are really happy with the results. Also using Silverlight deepzoom which we customised..
I think StackOverflow, itself, is built on ASP.NET MVC. Just read this: http://haacked.com/archive/2008/09/15/stackoverflow-at-pdc.aspx
You should take a look at how to make ASP.NET MVC work on the specific version of IIS your're planning to use. There's a whole page on the topic (Using ASP.NET MVC with Different Versions of IIS) on http://www.asp.net/learn/mvc/tutorial-08-vb.aspx
I've been using ASP.NET MVC in production on several sites since Preview 2, and it has got progressively better with each release.
One issue to be aware of with the latest release (Preview 5) is that there is a bug in the VirtualPathProviderViewEngine that can cause the wrong view to be rendered if you run in production mode (with <compilation debug="false" />). See this post on the MVC forums for more info.
Remember that asp.net MVC is built on top of a solid asp.net/.net foundation which is already well proven and you can mix the technologies if you choose. I've used it without any problems besides the learning curve.
My only note is that currently, 3rd party control vendors like Telerik, ComponentArt etc don't really work well with MVC.
Stackoverflow uses ASP.Net MVC. Seems to be doing pretty well here from my experience with the site.
I don't have any completed sites written in ASP.NET MVC, but I have one in the works and a few others in mind that would be ideal in MVC.
The product is solid and you can expect to continue to see development in the coming months. The only concern you should be aware of is that the code is likely going to change. Though I'm sure that it's starting to stabilize, you should expect to update your code to accommodate those changes.
Yeah we recently finished a site with MonoRail and have our own proprietary MVC framework for content generation too.
We just deployed www.homespothq.com using ASP.NET MVC. I am very pleased with how it is working.
I'm using ASP.NET-MVC on a high volume private site and it has performed quite well. The separation of components with this architectural approach is very appealing.

Resources