Home
Search results “Web api articles”
HTTP GET PUT POST DELETE
 
12:13
In this video we will discuss HTTP PUT, POST and DELETE verbs. Text version of the video http://csharp-video-tutorials.blogspot.com/2016/08/http-get-put-post-delete.html Slides http://csharp-video-tutorials.blogspot.com/2016/08/http-get-put-post-delete_30.html All Playlists https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All ASP.NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html
Views: 353027 kudvenkat
IHttpActionResult vs HttpResponseMessage
 
08:56
Text version of the video http://csharp-video-tutorials.blogspot.com/2017/02/ihttpactionresult-vs-httpresponsemessage.html Slides http://csharp-video-tutorials.blogspot.com/2017/02/ihttpactionresult-vs-httpresponsemessage_22.html All ASP .NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html All ASP .NET Web API Videos https://www.youtube.com/playlist?list=PL6n9fhu94yhW7yoUOGNOfHurUE6bpOO2b All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists In Web API 1, we have HttpResponseMessage type that a controller action method returns. A new type called "IHttpActionResult" is introduced in Web API 2 that can be returned from a controller action method. Instead of returning HttpResponseMessage from a controller action, we can now return IHttpActionResult. There are 2 main advantages of using the IHttpActionResult interface. 1. The code is cleaner and easier to read 2. Unit testing controller action methods is much simpler. We will discuss, how easy it is to unit test a method that returns IHttpActionResult instead of HttpResponseMessagein a later video. Consider the following StudentsController. Notice both the Get() methods return HttpResponseMessage. To create the HttpResponseMessage, we either use CreateResponse() or CreateErrorResponse() methods of the Request object. public class StudentsController : ApiController { static List[Student] students = new List[Student]() { new Student() { Id = 1, Name = "Tom" }, new Student() { Id = 2, Name = "Sam" }, new Student() { Id = 3, Name = "John" } }; public HttpResponseMessage Get() { return Request.CreateResponse(students); } public HttpResponseMessage Get(int id) { var student = students.FirstOrDefault(s =] s.Id == id); if(student == null) { return Request.CreateErrorResponse(HttpStatusCode.NotFound, "Student not found"); } return Request.CreateResponse(student); } } In the following example, we have replaced both instances of HttpResponseMessage with IHttpActionResult. To return status code 200, we used Ok() helper method and to return status code 404, we used NotFound() method. To the Ok() method we have passed the type we want to return from the action method. Also notice, the code is now much cleaner and simpler to read. public class StudentsController : ApiController { static List[Student] students = new List[Student]() { new Student() { Id = 1, Name = "Tom" }, new Student() { Id = 2, Name = "Sam" }, new Student() { Id = 3, Name = "John" } }; public IHttpActionResult Get() { return Ok(students); } public IHttpActionResult Get(int id) { var student = students.FirstOrDefault(s =] s.Id == id); if(student == null) { return Content(HttpStatusCode.NotFound, "Student not found"); // return NotFound(); } return Ok(student); } } In addition to Ok() and NotFound() helper methods, we have the following methods that we can use depending on what we want to return from our controller action method. All these methods return a type, that implements IHttpActionResult interface. BadRequest() Conflict() Created() InternalServerError() Redirect() Unauthorized()
Views: 50949 kudvenkat
Implementing basic authentication in ASP NET Web API
 
19:17
Text version of the video http://csharp-video-tutorials.blogspot.com/2016/10/implementing-basic-authentication-in.html Slides http://csharp-video-tutorials.blogspot.com/2016/10/implementing-basic-authentication-in_3.html All ASP.NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html All ASP.NET Web API Videos https://www.youtube.com/playlist?list=PL6n9fhu94yhW7yoUOGNOfHurUE6bpOO2b All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1
Views: 181559 kudvenkat
ASP NET Web API and SQL Server
 
11:17
In this video we will discuss creating ASP.NET Web API service that returns data from a SQL Server database. We will be using this service as the basis for understanding many of the Web API concepts in our upcoming videos. Text version of the video http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-and-sql-server.html Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-and-sql-server_4.html Dot Net and SQL Server Tutorials https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All ASP.NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html
Views: 348941 kudvenkat
Implementing post method in ASP NET Web API in arabic
 
16:27
Text version of the video http://csharp-video-tutorials.blogspot.com/2016/09/implementing-post-method-in-aspnet-web_7.html Slides http://csharp-video-tutorials.blogspot.com/2016/09/implementing-post-method-in-aspnet-web_22.html All Dot Net and SQL Server Tutorials https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All ASP.NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html
Views: 570 kudvenkat.arabic
Creating a Web API Project
 
11:37
In this video we will discuss 1. Creating a new ASP.NET Web API Project 2. Explore and understand the Web API code auto-generated by Visual Studio Text version of the video http://csharp-video-tutorials.blogspot.com/2016/08/creating-web-api-project.html Slides http://csharp-video-tutorials.blogspot.com/2016/08/creating-web-api-project_29.html Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All ASP.NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html
Views: 450830 kudvenkat
Call ASP NET Web API from jQuery
 
08:26
Text version of the video http://csharp-video-tutorials.blogspot.com/2016/09/call-aspnet-web-api-from-jquery.html Slides http://csharp-video-tutorials.blogspot.com/2016/09/call-aspnet-web-api-from-jquery_20.html All ASP.NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html All ASP.NET Web API Videos https://www.youtube.com/playlist?list=PL6n9fhu94yhW7yoUOGNOfHurUE6bpOO2b All Dot Net and SQL Server Tutorials https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd
Views: 116537 kudvenkat
Cross origin resource sharing ASP NET Web API
 
12:19
Text version of the video http://csharp-video-tutorials.blogspot.com/2016/09/cross-origin-resource-sharing-aspnet.html Slides http://csharp-video-tutorials.blogspot.com/2016/09/cross-origin-resource-sharing-aspnet_22.html All ASP.NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html All ASP.NET Web API Videos https://www.youtube.com/playlist?list=PL6n9fhu94yhW7yoUOGNOfHurUE6bpOO2b All Dot Net and SQL Server Tutorials https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd
Views: 107799 kudvenkat
Attribute routing in ASP NET Web API 2
 
10:08
For the example code used in the demo, please refer to the text article of this video. http://csharp-video-tutorials.blogspot.com/2017/02/attribute-routing-in-aspnet-web-api-2.html Slides http://csharp-video-tutorials.blogspot.com/2017/02/attribute-routing-in-aspnet-web-api-2_14.html All ASP .NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html All ASP .NET Web API Videos https://www.youtube.com/playlist?list=PL6n9fhu94yhW7yoUOGNOfHurUE6bpOO2b All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists In this video we will discuss Attribute Routing introduced in ASP.NET Web API 2. Let us understand attribute routing with an example What is Attribute Routing Using the [Route] attribute to define routes is called Attribute Routing What are the advantages of using Attribute Routing Attribute routing gives us more control over the URIs than convention-based routing. Creating URI patterns like hierarchies of resources (For example, students have courses, Departments have employees) is very difficult with convention-based routing. With attribute routing all you have to do is use the [Route] attribute as shown below. [Route("api/students/{id}/courses")] How to enable Attribute Routing In ASP.NET Web API 2, Attribute Routing is enabled by default. The following line of code in WebApiConfig.cs file enables Attribute Routing. config.MapHttpAttributeRoutes(); Can we use both Attribute Routing and Convention-based routing in a single Web API project Yes, both the routing mechanisms can be combined in a single Web API project. The controller action methods that have the [Route] attribute uses Attribute Routing, and the others without [Route] attribute uses Convention-based routing.
Views: 63304 kudvenkat
Web API versioning using URI
 
09:00
Text version of the video http://csharp-video-tutorials.blogspot.com/2017/02/web-api-versioning-using-uri.html Slides http://csharp-video-tutorials.blogspot.com/2017/02/web-api-versioning-using-uri_27.html All ASP .NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html All ASP .NET Web API Videos https://www.youtube.com/playlist?list=PL6n9fhu94yhW7yoUOGNOfHurUE6bpOO2b All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists In this video we will discuss 1. Why is versioning required in Web API 2. Different options available to version Web API services 3. How to version a Web API service using URI's Why is versioning required in Web API : Once a Web API service is made public, different client applications start using your Web API services. As the business grows and requirements change, we may have to change the services as well, but the changes to the services should be done in way that does not break any existing client applications. This is when Web API versioning helps. We keep the existing services as is, so we are not breaking the existing client applications, and develop a new version of the service that new client applications can start using. Different options available to version Web API services : Versioning can be implemented using 1. URI's 2. Query String 3. Version Header 4. Accept Header 5. Media Type
Views: 38926 kudvenkat
ASP NET Web API enable HTTPS
 
13:49
Text version of the video http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-enable-https.html Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-enable-https_27.html All ASP.NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html All ASP.NET Web API Videos https://www.youtube.com/playlist?list=PL6n9fhu94yhW7yoUOGNOfHurUE6bpOO2b All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 85847 kudvenkat
Web API versioning using querystring parameter
 
14:00
Text version of the video http://csharp-video-tutorials.blogspot.com/2017/02/web-api-versioning-using-querystring.html Slides http://csharp-video-tutorials.blogspot.com/2017/02/web-api-versioning-using-querystring_28.html All ASP .NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html All ASP .NET Web API Videos https://www.youtube.com/playlist?list=PL6n9fhu94yhW7yoUOGNOfHurUE6bpOO2b All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists In this video we will discuss versioning a Web Service using a QueryString parameter. Before we implement versioning using a querystring parameter. First let's understand how a controller is selected when a request is issued to a web api service. For example, let us understand how a controller is selected when a rquest is issued to the following URI /api/students/1 In Web API, there is a class called DefaultHttpControllerSelector. This class has a method called SelectController() that selects the controller based on the information it has in the URI. In the URI we have 1. The name of the controller, in this case students 2. The id parameter value, in this case 1 So from the URI, the SelectController() method takes the name of the controller in this case "Students" and finds "StudentsController" and returns it. This is the default implementation that we get out of the box. This default implementation will not work for us because, in our service we do not have controller that is named StudentsController. Instead we have 1. StudentsV1Controller and 2. StudentsV2Controller When a request is issued to the following URI, depending on the query string parameter "v" value we want to select the controller. If the value is 1, select StudentsV1Controller, and if it is 2, then select StudentsV2Controller. /api/students?v=1 Step 1 : Since the default controller selector implementation provided by Web API does not work for us, we have to provide our own custom controller selector implementation. To do this 1. Add a folder to the web api project. Name it "Custom" 2. Add a class file to the folder. Name it "CustomControllerSelector". For the "CustomControllerSelector" class code please check the link below http://csharp-video-tutorials.blogspot.com/2017/02/web-api-versioning-using-querystring.html Step 2 : The next thing that we need to do is, replace the default controller selector with our custom controller selector. This is done in WebApiConfig.cs file. Notice we are replacing IHttpControllerSelector, with our CustomControllerSelector. DefaultHttpControllerSelector implements IHttpControllerSelector, so that is the reason we replacing IHttpControllerSelector. config.Services.Replace(typeof(IHttpControllerSelector), new CustomControllerSelector(config)); Step 3 : Include the following default route in WebApiConfig.cs config.Routes.MapHttpRoute( name: "DefaultRoute", routeTemplate: "api/{controller}/{id}", defaults: new { id = RouteParameter.Optional } ); Step 4 : Remove [Route] attribute, from action methods in StudentsV1Controller and StudentsV2Controller
Views: 30710 kudvenkat
Creating a Web API Project in arabic
 
10:56
Text version of the video http://csharp-video-tutorials.blogspot.com/2016/08/creating-web-api-project.html Slides http://csharp-video-tutorials.blogspot.com/2016/08/creating-web-api-project_29.html Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All ASP.NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html
Views: 1212 kudvenkat.arabic
Web Scraping with Node.js
 
27:20
Learn how to do basic web scraping using Node.js in this tutorial. The request-promise and cheerio libraries are used. 💻 Github: https://github.com/beaucarnes/fcc-project-tutorials/blob/master/node-web-scraping/index.js 🔗 Article on client-side web scraping : https://medium.freecodecamp.org/client-side-web-scraping-with-javascript-using-jquery-and-regex-5b57a271cb86 🐦 Beau Carnes on Twitter: https://twitter.com/carnesbeau --- Learn to code for free and get a developer job: https://www.freecodecamp.com Read hundreds of articles on technology: https://medium.freecodecamp.com And subscribe for new programming videos every day: https://youtube.com/subscription_center?add_user=freecodecamp
Views: 55431 freeCodeCamp.org
Web API attribute routing constraints
 
07:14
Text version of the video http://csharp-video-tutorials.blogspot.com/2017/02/web-api-attribute-routing-constraints.html Slides http://csharp-video-tutorials.blogspot.com/2017/02/web-api-attribute-routing-constraints_20.html All ASP .NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html All ASP .NET Web API Videos https://www.youtube.com/playlist?list=PL6n9fhu94yhW7yoUOGNOfHurUE6bpOO2b All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists In this video we will discuss Attribute Routing Constraints in ASP.NET Web API. Let's understand these constraints with an example. Consider the following StudentsController. [RoutePrefix("api/students")] public class StudentsController : ApiController { static List[Student] students = new List[Student]() { new Student() { Id = 1, Name = "Tom" }, new Student() { Id = 2, Name = "Sam" }, new Student() { Id = 3, Name = "John" } }; [Route("{id}")] public Student Get(int id) { return students.FirstOrDefault(s =] s.Id == id); } } If we navigate to /api/students/1, Get(int id) action method is mapped to the URI and we get the details of the student whose id is 1 as expected. In addition to retrieving student by Id, we also want to retrieve student by "name". So let's add another Get() method as shown below. Notice the name of the parameter is name and it's type is string. [RoutePrefix("api/students")] public class StudentsController : ApiController { static List[Student] students = new List[Student]() { new Student() { Id = 1, Name = "Tom" }, new Student() { Id = 2, Name = "Sam" }, new Student() { Id = 3, Name = "John" } }; [Route("{id}")] public Student Get(int id) { return students.FirstOrDefault(s =] s.Id == id); } [Route("{name}")] public Student Get(string name) { return students.FirstOrDefault(s =] s.Name.ToLower() == name.ToLower()); } } At this point build the solution, and if you navigate to either of the following URI's you get an error stating "Multiple actions were found that match the request" /api/students/1 /api/students/Sam This is because the framework does not which version of the Get() method to use. This is where constraints are very useful. If an integer is specified in the URI (/api/students/1), then we want the Get(int id) method that has integer parameter invoked If a string is specified in the URI (/api/students/Sam), then we want the Get(string name) method that has string parameter invoked This can be very easily achieved using Route Constraints as shown below. To specify route constraint, the syntax is "{parameter:constraint}". With these constraints in place, if the parameter segment in the URI is an integer, then Get(int id) method with integer parameter is invoked, if it is a string then Get(string name) method with string parameter is invoked. Please note that "alpha" stands for uppercase or lowercase alphabet characters. Along with int and alpha, we also have constraints like decimal, double, float, long, bool etc. Please check MSDN for the full list of available constraints. [Route("{id:int}")] public Student Get(int id) { return students.FirstOrDefault(s =] s.Id == id); } [Route("{name:alpha}")] public Student Get(string name) { return students.FirstOrDefault(s =] s.Name.ToLower() == name.ToLower()); } Some of the constraints take arguments. To specify arguments use parentheses. Example : If you want Get(int id) method to be mapped to URI /api/students/{id}, only if id is a number greater than ZERO, then use the "min" constraint as shown below. [Route("{id:int:min(1)}")] public Student Get(int id) { return students.FirstOrDefault(s =] s.Id == id); } With the above change, if you specify a positive number like 1 in the URI, then it will be mapped to Get(int id) method as expected /api/students/1 However, if you specify 0 or a negative number less than ZERO, you will get an error. For example if you specify 0 as the value for id in the URI, you will get No HTTP resource was found that matches the request URI 'http://localhost:65116/api/students/0' Along with the "min" constraint you can also specify "max" constraint as shown below. For example if you want the id value in the URI to be between 1 and 3 inclusive, then you can specify both "min" and "max" attributes as shown below. [Route("{id:int:min(1):max(3)}")] public Student Get(int id) { return students.FirstOrDefault(s =] s.Id == id); } The above example can also be achieved using just the "range" attribute as shown below [Route("{id:int:range(1,3)}")] public Student Get(int id) { return students.FirstOrDefault(s =] s.Id == id); }
Views: 35523 kudvenkat
Implementing Delete method in ASP NET Web API
 
07:43
Text version of the video http://csharp-video-tutorials.blogspot.com/2016/09/implementing-delete-method-in-aspnet.html Slides http://csharp-video-tutorials.blogspot.com/2016/09/implementing-delete-method-in-aspnet_8.html All Dot Net and SQL Server Tutorials https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All ASP.NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html
Views: 100480 kudvenkat
Calling ASP NET Web API service in a cross domain using jQuery ajax
 
10:48
Text version of the video http://csharp-video-tutorials.blogspot.com/2016/09/calling-aspnet-web-api-service-in-cross.html Slides http://csharp-video-tutorials.blogspot.com/2016/09/calling-aspnet-web-api-service-in-cross_21.html All ASP.NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html All ASP.NET Web API Videos https://www.youtube.com/playlist?list=PL6n9fhu94yhW7yoUOGNOfHurUE6bpOO2b All Dot Net and SQL Server Tutorials https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd
Views: 116235 kudvenkat
API - Using Wikipedia API to fetch articles and suggestions | Javascript tutorials
 
18:30
this is what we are going to build http://solutionsspy.000webhostapp.com/wiki/se.html In this video we are going to show you how to fetch wikipedia api suggestion and on suggestion clicked get article about that. complete articles, images, etc. this is complete tutorial to get any wikipedia articles and you can get any article and give its separate style. for single videos https://www.youtube.com/playlist?list=PL_sc2-Ru5XrW2Ox2lhhpAkW4IoAY3kp1a subscribe to our channel to get amazing videos and solutions.
Views: 1260 Solutions Nerds
ASP NET Web API Content Negotiation in arabic
 
09:07
Text version of the video http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-content-negotiation.html Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-content-negotiation_5.html Dot Net and SQL Server Tutorials https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All ASP.NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html
Views: 674 kudvenkat.arabic
[Part 9] Building a Medium clone using Vue.JS - Fetch Articles from API
 
10:34
Link to full series : https://cb.lk/realworld/vue In this series we are building "Conduit" a clone of "Medium" using Vue.js. Originally started by gothinkster.io, building the https://realworld.io project is the ultimate capstone to learning any frontend or backend framework. In Part 9 we start going deeper into the API integration. One of the interesting things is the articles feed. There is global feed, accessible to everyone, and then there's the user-specific feed of only favourited and followed users. We start integrating the AXIOS api calls with our Vuex state to show a list of articles on the feed. #RealWorld #Frontend #VueJS #FrontendProject #StateManagement #Vuex ----- About Coding Blocks ----- Our online Courses - http://online.codingblocks.com [Free Trial Available] Coding Blocks India's best Programming and software training institute offers courses like C++ and Java, Data Structures and Algorithms, Web and Android Development(Java and Kotlin), Competitive Programming, Coding Interview Preparation and Machine Learning, AI and more. Registration open for Online and Offline Coding classes.Take advantage of the professionals who have worked with bigwigs like Sony, Cyanogen, Micromax. Like our FaceBook Page - https://www.facebook.com/codingblocksindia/ Follow us on Instagram - https://www.instagram.com/codingblocks/ Follow us on Twitter - https://twitter.com/CodingBlocksIn Source code available on - https://github.com/coding-blocks-archives LinkedIn Profile -https://www.linkedin.com/company/coding-blocks/ For more interesting tutorials - https://www.youtube.com/codingblocksindia
Views: 476 Coding Blocks
Web API versioning using custom media types
 
10:09
Text version of the video http://csharp-video-tutorials.blogspot.com/2017/03/web-api-versioning-using-custom-media.html Slides http://csharp-video-tutorials.blogspot.com/2017/03/web-api-versioning-using-custom-media_8.html All ASP .NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html All ASP .NET Web API Videos https://www.youtube.com/playlist?list=PL6n9fhu94yhW7yoUOGNOfHurUE6bpOO2b All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists In this video we will discuss versioning a Web API Service using vendor specific media types. Instead of using the standard media types like application/xml or application/json, we want to use our custom media types. In the media type, we also have the version of the service we want. Custom media types have vnd prefix. vnd indicates that it is a vendor specific media type. So from our CustomControllerSelector class we want to read the version number from the custom media type we have specified. For the code used in the demo please refer to the following article http://csharp-video-tutorials.blogspot.com/2017/03/web-api-versioning-using-custom-media.html
Views: 25400 kudvenkat
Build a Node.js API - tutorial
 
33:10
Create basic CRUD routes with Node.js, Express, and MongoDB. NOTE: For this to work correctly, you must use the same version of mongodb. Your package.json file should say: "mongodb": "^2.2.33" 💻 Code on GitHub: https://github.com/beaucarnes/fcc-project-tutorials/tree/master/notable 🔗 Based on this article by Scott Domes: https://medium.freecodecamp.org/building-a-simple-node-js-api-in-under-30-minutes-a07ea9e390d2 🐦 Beau Carnes on Twitter: https://twitter.com/carnesbeau --- Learn to code for free and get a developer job: https://www.freecodecamp.com Read hundreds of articles on technology: https://medium.freecodecamp.com And subscribe for new programming videos every day: https://youtube.com/subscription_center?add_user=freecodecamp
Views: 65577 freeCodeCamp.org
Why dependency injection
 
11:53
Text version of the video http://csharp-video-tutorials.blogspot.com/2017/08/why-dependency-injection.html Slides http://csharp-video-tutorials.blogspot.com/2017/08/why-dependency-injection_23.html Angular 2 Tutorial playlist https://www.youtube.com/playlist?list=PL6n9fhu94yhWqGD8BuKuX-VTKqlNBj-m6 Angular 2 Text articles and slides http://csharp-video-tutorials.blogspot.com/2017/06/angular-2-tutorial-for-beginners_12.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists In this video we will discuss why should we use dependency injection and the benefits it provide. Let us understand this with a very simple example. We want to build a Computer. In reality to build a computer we need several objects like processor, ram, harddisk drive etc. To keep this example simple let's say we just need a processor object to build a computer. Our Computer and Processor classes are as shown below. Notice at the moment, we are not using dependency injection. To build a Computer we need a Processor object and the Computer class is creating an instance of the Processor class it needs. There are 3 fundamental problems with this code 1. This code is difficult to maintain over time 2. Instances of dependencies created by a class that needs those dependencies are local to the class and cannot share data and logic. 3. Hard to unit test export class Computer { private processor: Processor; constructor() { this.processor = new Processor(); } } export class Processor { constructor() { } } Now let us understand why this code is difficult to maintain. Let us say, the Processor class needs to know the speed of the processor to be able to create an inatnce of it. One way to address this requirement is by passing the processor speed as a parameter to the constructor of the Processor class as shown below. export class Processor { constructor(speed: number) { } } This change in the Processor class breaks the Computer class. So every time the Processor class changes, the Computer class also needs to be changed. At the moment, the Computer class has only one dependency. In reality it may have many dependencies and those dependencies inturn may have other dependencies. So when any of these dependencies change, the Computer class may also need to be changed. Hence this code is difficult to maintain. The reason we have this problem is because the Computer class itself is creating the instance of the Processor class. Instead if an external source can create the processor instance and provide it to the computer class, then this problem can be very easily solved and that's exactly what dependency injection does. I have rewritten the above code using dependency injection, DI for short as shown below. export class Computer { private processor: Processor; constructor(processor: Processor) { this.processor = processor; } } export class Processor { constructor(speed: number) { } } Notice with DI, the Computer class is not creating the instance of the Processor class itself. Instead we have specified that the Computer class has a dependency on Processor class using the constructor. Now, when we create an instance of the Computer class, an external source i.e the Angular Injector will provide the instance of the Processor class to the Computer class. Since now the the Angular injector is creating the dependency instance, the Computer class need not change when the Processor class changes. Now, let us understand the second problem - Instances of dependencies created by a class that needs those dependencies are local to the class and cannot share data and logic. The Processor class instance created in the Computer class is local to the Computer class and cannot be shared. On the other hand if we use Dependency Injection (DI), the angular injector provides a Singleton i.e a single instance of the service so the data and logic can be shared very easily across all the components. From unit testing standpoint, it is difficult to mock the processor object, so unit testing Computer class can get complex. In this example, the Computer class has just one dependency (i.e the dependency on the Processor object). In a real world application, a given object may have a dependency on several other objects, and those dependencies inturn may have dependencies on other objects. Just imagine, how complicated unit testing can become with all these hierarchies of dependencies if we do not have the ability to mock the dependencies. With Dependency Injection it is very easy to mock objects when unit testing. This is one of the greatest benefits of DI.
Views: 84057 kudvenkat
Web api bearer token example
 
17:21
In this video we will discuss how to use bearer token for authentication and retrieving data from the server. We want to implement a page that retrieves employee data from the server. If the user is not authenticated, he should be automatically redirected to the login page. The user should be able to get to the data page, only if he is logged in. At the moment, the only way to log off the user is by closing the browser window. As we are storing the bearer token in browser session storage, when we close the browser we loose it from the session. In our next video we will discuss, how to explicitly log out the user without closing the browser window. Text version of the video http://csharp-video-tutorials.blogspot.com/2016/12/web-api-bearer-token-example.html Slides http://csharp-video-tutorials.blogspot.com/2016/12/web-api-bearer-token-example_8.html All ASP .NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html All ASP .NET Web API Videos https://www.youtube.com/playlist?list=PL6n9fhu94yhW7yoUOGNOfHurUE6bpOO2b All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 90734 kudvenkat
How to Build a RESTful API using Node, Express, and Mongo
 
01:38:55
A REST API is an integral component of a web application. You don't need to be an expert backend developer to make your own. In this workshop, we will walk through the basic building blocks of creating your own REST API using Node.js, Express, and MongoDB. 🔗Slide Deck: https://docs.google.com/presentation/d/1VSlo9JEsoVjNNH4DqOJtSWInKIis5p39lmHvAcLifSw 🔗Github Repo: https://github.com/theoutlander/rest-api-workshop Tutorial from Nick Karnik. Check out his YouTube channel: https://www.youtube.com/channel/UClCm-WAOgN6XLwCpefSVezg Nick on Twitter: https://twitter.com/theoutlander This video was originally a live stream. -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://medium.freecodecamp.org And subscribe for new videos on technology every day: https://youtube.com/subscription_center?add_user=freecodecamp
Views: 44661 freeCodeCamp.org
Using fiddler to test ASP NET Web API token based authentication
 
07:27
In this video we will discuss how to test ASP.NET Web API token based authentication using fiddler. Text version of the video http://csharp-video-tutorials.blogspot.com/2016/12/using-fiddler-to-test-aspnet-web-api.html Slides http://csharp-video-tutorials.blogspot.com/2016/12/using-fiddler-to-test-aspnet-web-api_6.html All ASP .NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html All ASP .NET Web API Videos https://www.youtube.com/playlist?list=PL6n9fhu94yhW7yoUOGNOfHurUE6bpOO2b All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists In our previous video we have registered a new user with the following email address and password. The username is also the email address. Email : [email protected] Password : Test123! Now let's use fiddler and generate the access token using the above username and password. Use the Composer tab in Fiddler to compose a request. Issue a POST request to /token In the request body include username and the password. We also need to set grant_type=password. This indicates that we are presenting password for acquiring access token. With the above configuration in place, click the Execute button in Fiddler. Notice we get the access token back. You can also see when the token is issued and when it expires. Now let's understand how the access token is generated. The code that generates the access token is provided by ASP.NET Web API out of the box. To see this code open the file "Startup.Auth.cs" that is present in App_Start folder. Notice in the ConfigureAuth() method 1. An instance of OAuthAuthorizationServerOptions is created 2. The /Token end point to which we have posted username and password is specified in here 3. The token expiry is specified using AccessTokenExpireTimeSpan property. In this case the token expires 14 days after it is issued. You can change this to meet your application needs. 4. The Provider property is initialized with a new instance of ApplicationOAuthProvider class. This class has GrantResourceOwnerCredentials() method which verifies if the provided username and password are valid. If valid an access token is issued. The token is generated when context.Validated(ticket) method is called. Now let us see how to call EmployeesController and retrieve employees data. If we issue a GET request to /api/employees we get 401 Unauthorized error. Since the EmployeesController is decorated with [Authorize] attribute, the request needs to be authenticated. So with every request we have to send the Bearer token using Authorization header In our next video we will discuss implementing the Login page for the sample application that we have been working with in this series.
Views: 103594 kudvenkat
How To Add An RSS Article News Feed To Your Website
 
02:57
How to add an rss article news feed to my website using https://www.webstarts.com Be sure to checkout all our videos at http://youtube.com/webstarts RSS feed on your website RSS Article News Feed
Views: 34095 WebStarts
How to get authenticated user identity name in asp net web api
 
08:01
Text version of the video http://csharp-video-tutorials.blogspot.com/2016/12/how-to-get-authenticated-user-identity.html Slides http://csharp-video-tutorials.blogspot.com/2016/12/how-to-get-authenticated-user-identity_13.html All ASP .NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html All ASP .NET Web API Videos https://www.youtube.com/playlist?list=PL6n9fhu94yhW7yoUOGNOfHurUE6bpOO2b All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists In this video we will discuss how to get authenticated user identity name in asp.net web api and display it on the web page. We want to display the logged in username on the web page On the Login.html page, store the username in the browser local storage. The success() function is called when the user is successfully logged in. The response that we get from the server includes userName property which has the userName that is used to login. We are storing the logged in username in the broswer localstorage using the key userName. success: function (response) { localStorage.setItem("accessToken", response.access_token); localStorage.setItem("userName", response.userName); window.location.href = "Data.html"; }, On the Data.html page include the following span element just below the "Load Employees" button. We will use this span element to display the logged in username. [span id="spanUsername" class="text-muted"][/span] Step 3 : On the Data.html page, in $(document).ready() function include the following line of jQuery code to retrieve and display the logged in username. $('#spanUsername').text('Hello ' + localStorage.getItem('userName')); How to get logged in user identity details in ASP.NET Web API controller From the ASP.NET Web API controller use the User.Identity object to retrieve user details User.Identity.IsAuthenticated - Returns true or false depending on whether the user is authenticated User.Identity.AuthenticationType - Authentication Type used User.Identity.Name - Logged in username RequestContext.Principal.Identity.IsAuthenticated - Returns true or false depending on whether the user is authenticated RequestContext.Principal.Identity.AuthenticationType - Authentication Type used RequestContext.Principal.Identity.Name - Logged in username Instead of using User.Identity, we can also use RequestContext.Principal.Identity To see what the respective properties return, set a breakpoint in the Get() method of Employees controller and run the application in debug mode. Navigate to Login page and login. On the Data.html page click "Load Employees" button. When the execution pauses at the breakpoint, open Immediate Window and type the above properties one by one and press enter. To open immediate window, in Visual Studio select Debug - Windows - Immediate. Now let us see what these properties return if we are not logged in. 1. Add a new Empty Web API 2 Controller to the EmployeeService project. Name it TestController. 2. Copy and paste the following code in TestController. using System.Web.Http; namespace EmployeeService.Controllers { public class TestController : ApiController { public string Get() { return "Hello from TestController"; } } } 3. Set a breakpoint on the Get() method in TestController. Run the application in Debug mode and navigate to /api/Test. When the execution pauses at the breakpoint, open Immediate Window and type the above properties one by one and press enter. Since we are not logged in, notice IsAuthenticated property returns false. Since we are not authenticated AuthenticationType and Name properties return NULL.
Views: 65231 kudvenkat
Python Flask From Scratch - [Part 1] - Getting Started
 
28:48
In this video we will start the project and install Flask using pip. We will create the main app.py file and create some routes and render some templates CODE: Code for this video https://github.com/bradtraversy/myflaskapp Python Crash Course: https://www.youtube.com/watch?v=oy4GOI9vn5M&t=1503s SUPPORT: We spend massive amounts of time creating these free videos, please donate to show your support: http://www.paypal.me/traversymedia http://www.patreon.com/traversymedia FOLLOW TRAVERSY MEDIA: http://www.facebook.com/traversymedia http://www.twitter.com/traversymedia http://www.linkedin.com/bradtraversy
Views: 311048 Traversy Media
Angular and ASP NET Web API
 
07:35
Text version of the video http://csharp-video-tutorials.blogspot.com/2017/08/angular-and-aspnet-web-api.html Slides http://csharp-video-tutorials.blogspot.com/2017/08/angular-and-aspnet-web-api_7.html Angular 2 Tutorial playlist https://www.youtube.com/playlist?list=PL6n9fhu94yhWqGD8BuKuX-VTKqlNBj-m6 Angular 2 Text articles and slides http://csharp-video-tutorials.blogspot.com/2017/06/angular-2-tutorial-for-beginners_12.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists In this video we will discuss creating ASP.NET Web API service that retrieves employees data from a database table. In our next video we will discuss, how to call this ASP.NET Web API service using Angular Step 1 : Execute the following SQL Script using SQL Server Management studio. This script creates 1. EmployeeDB database 2. Creates the Employees table and populate it with sample data Create Database EmployeeDB Go Use EmployeeDB Go Create table Employees ( code nvarchar(50) primary key, name nvarchar(50), gender nvarchar(50), annualSalary decimal(18,3), dateOfBirth nvarchar(50) ) Go Insert into Employees values ('emp101', 'Tom', 'Male', 5500, '6/25/1988') Insert into Employees values ('emp102', 'Alex', 'Male', 5700.95, '9/6/1982') Insert into Employees values ('emp103', 'Mike', 'Male', 5900, '12/8/1979') Insert into Employees values ('emp104', 'Mary', 'Female', 6500.826, '10/14/1980') Insert into Employees values ('emp105', 'Nancy', 'Female', 6700.826, '12/15/1982') Step 2 : To keep Angular and Web API projects separate, let's create a new project for our Web API Service. Right click on "Angular2Demo" solution in the Solution Explorer and select Add - New Project. Step 3 : In the Add New Project window Select "Visual C#" under "Installed - Templates" From the middle pane select, ASP.NET Web Application Name the project "EmployeeWebAPIService" and click "OK" Step 4 : On the next window, select "Web API" and click "OK". At this point you should have the Web API project created. Step 5 : Add ADO.NET Entity Data Model to retrieve data from the database. Right click on "EmployeeWebAPIService" project and select Add - New Item In the "Add New Item" window Select "Data" from the left pane Select ADO.NET Entity Data Model from the middle pane In the Name text box, type EmployeeDataModel and click Add Step 6 : On the Entity Data Model Wizard, select "EF Designer from database" option and click next Step 7 : On the next screen, click "New Connection" button Step 8 : On "Connection Properties" window, set Server Name = (local) Authentication = Windows Authentication Select or enter a database name = EmployeeDB Click OK and then click Next Step 9: On the nex screen, select "Employees" table and click Finish. Adding Web API Controller 1. Right click on the Controllers folder in EmployeeWebAPIService project and select Add - Controller 2. Select "Web API 2 Controller - Empty" and click "Add" 3. On the next screen set the Controller Name = EmployeesController and click Add 4. Copy and paste the following code in EmployeesController.cs using System.Collections.Generic; using System.Linq; using System.Web.Http; namespace EmployeeWebAPIService.Controllers { public class EmployeesController : ApiController { public IEnumerable[Employee] Get() { using (EmployeeDBEntities entities = new EmployeeDBEntities()) { return entities.Employees.ToList(); } } public Employee Get(string code) { using (EmployeeDBEntities entities = new EmployeeDBEntities()) { return entities.Employees.FirstOrDefault(e =] e.code == code); } } } } At this point when you navigate to /api/employees you will see all the employees as expected. However, when you navigate to /api/employees/emp101, we expect to see employee whose employee code is emp101, but we still see the list of all employees. This is because the parameter name for the Get() method in EmployeesController is "code" public Employee Get(string code) { using (EmployeeDBEntities entities = new EmployeeDBEntities()) { return entities.Employees.FirstOrDefault(e =] e.code == code); } } but in the default Web API route in WebApiConfig.cs file the parameter name is {id}. Change this to "code" as shown below config.Routes.MapHttpRoute( name: "DefaultApi", routeTemplate: "api/{controller}/{code}", defaults: new { code = RouteParameter.Optional } ); With this change if we navigate to /api/employees/emp101 we see just that employee whose employee code is "emp101" In our next video we will discuss, how to call this ASP.NET Web API service using Angular
Views: 103839 kudvenkat
Getting Started with AWS | Amazon Web Services BASICS
 
26:52
Let's dive right into the basics of AWS so that you get a quick overview over what AWS actually is and what you can do with it. Limited Offer! Join the Full AWS Serverless Course at 90% off: https://acad.link/aws-serverless Dive into the complete AWS Basics series: https://academind.com/learn/aws/the-basics/ Check out all our other courses: https://academind.com/learn/our-courses Want to become a frontend developer? Dive into one of these courses! Ionic - The Practical Guide: https://acad.link/ionic Angular - The Complete Guide: https://acad.link/angular Vue.js - The Complete Guide: https://acad.link/vuejs ---------- Example Project (don't forget to unzip + rezip!): https://github.com/academind/aws-first-node-app Some useful AWS Articles: - Getting Started: https://aws.amazon.com/getting-started - Infrastructure: https://aws.amazon.com/about-aws/global-infrastructure - Pricing: https://aws.amazon.com/pricing - More on EC2 (since I show it in the video): https://aws.amazon.com/ec2 - More on Elastic Beanstalk: https://aws.amazon.com/elasticbeanstalk ---------- • Go to https://www.academind.com and subscribe to our newsletter to stay updated and to get exclusive content & discounts • Follow @maxedapps and @academind_real on Twitter • Join our Facebook community on https://www.facebook.com/academindchannel/ See you in the videos! ---------- Academind is your source for online education in the areas of web development, frontend web development, backend web development, programming, coding and data science! No matter if you are looking for a tutorial, a course, a crash course, an introduction, an online tutorial or any related video, we try our best to offer you the content you are looking for. Our topics include Angular, React, Vue, Html, CSS, JavaScript, TypeScript, Redux, Nuxt.js, RxJs, Bootstrap, Laravel, Node.js, Progressive Web Apps (PWA), Ionic, React Native, Regular Expressions (RegEx), Stencil, Power BI, Amazon Web Services (AWS), Firebase or other topics, make sure to have a look at this channel or at academind.com to find the learning resource of your choice! xxx Let's dive right into the basics of AWS so that you get a quick overview over what AWS actually is, what you can do with it and how it works! Want to learn AWS Serverless apps? Dive into my complete introduction for only $13: https://www.udemy.com/aws-serverless-a-complete-introduction/?couponCode=YOUTUBE_1 Example Project (don't forget to unzip + rezip!): https://github.com/academind/aws-first-node-app Some useful AWS Articles: - Getting Started: https://aws.amazon.com/getting-started - Infrastructure: https://aws.amazon.com/about-aws/global-infrastructure - Pricing: https://aws.amazon.com/pricing - More on EC2 (since I show it in the video): https://aws.amazon.com/ec2 - More on Elastic Beanstalk: https://aws.amazon.com/elasticbeanstalk Want to become a frontend developer? Consider diving into some of my courses on Udemy: Angular vs React vs Vue - Quickstart and Comparison for $12: https://www.udemy.com/angular-reactjs-vuejs-quickstart-comparison/?couponCode=YOUTUBE_PROMO Ionic 2 - The Practical Guide for only $15: https://www.udemy.com/ionic-2-the-practical-guide-to-building-ios-android-apps/?couponCode=GETINTOIT Angular - The Complete Guide for only $15, too: https://www.udemy.com/the-complete-guide-to-angular-2/?couponCode=YOUTUBE_2 Vue.js 2 - The Complete Guide for only $15: https://www.udemy.com/vuejs-2-the-complete-guide/?couponCode=YOUTUBE_VUE Want to get some 1-on-1 coaching with experienced developers? Have a look at Savvy: https://www.savvy.is/?ref=9fee2b (Discount Code 9fee2b) You can follow me on Twitter (@maxedapps), Facebook (https://www.facebook.com/academindchannel/) or visit our Website (https://www.academind.com). See you in the videos!
Views: 389473 Academind
Generating links using route names in asp net web api in arabic
 
10:31
Text version of the video http://csharp-video-tutorials.blogspot.com/2017/02/generating-links-using-route-names-in.html Slides http://csharp-video-tutorials.blogspot.com/2017/02/generating-links-using-route-names-in_21.html All ASP .NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html All ASP .NET Web API Videos https://www.youtube.com/playlist?list=PL6n9fhu94yhW7yoUOGNOfHurUE6bpOO2b All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 167 kudvenkat.arabic
Using fiddler to test ASP NET Web API token based authentication in arabic
 
10:34
Text version of the video http://csharp-video-tutorials.blogspot.com/2016/12/using-fiddler-to-test-aspnet-web-api.html Slides http://csharp-video-tutorials.blogspot.com/2016/12/using-fiddler-to-test-aspnet-web-api_6.html All ASP .NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html All ASP .NET Web API Videos https://www.youtube.com/playlist?list=PL6n9fhu94yhW7yoUOGNOfHurUE6bpOO2b All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 323 kudvenkat.arabic
Implementing PUT method in ASP NET Web API in arabic
 
11:38
Text version of the video http://csharp-video-tutorials.blogspot.com/2016/09/implementing-put-method-in-aspnet-web.html Slides http://csharp-video-tutorials.blogspot.com/2016/09/implementing-put-method-in-aspnet-web_12.html All Dot Net and SQL Server Tutorials https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All ASP.NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html
Views: 341 kudvenkat.arabic
Web API attribute routing constraints in arabic
 
10:34
Text version of the video http://csharp-video-tutorials.blogspot.com/2017/02/web-api-attribute-routing-constraints.html Slides http://csharp-video-tutorials.blogspot.com/2017/02/web-api-attribute-routing-constraints_20.html All ASP .NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html All ASP .NET Web API Videos https://www.youtube.com/playlist?list=PL6n9fhu94yhW7yoUOGNOfHurUE6bpOO2b All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 131 kudvenkat.arabic
Implementing Delete method in ASP NET Web API in arabic
 
10:49
Text version of the video http://csharp-video-tutorials.blogspot.com/2016/09/implementing-delete-method-in-aspnet.html Slides http://csharp-video-tutorials.blogspot.com/2016/09/implementing-delete-method-in-aspnet_8.html All Dot Net and SQL Server Tutorials https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All ASP.NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html
Views: 355 kudvenkat.arabic
The Nuts and Bolts of API Security: Protecting Your Data at All Times
 
27:12
Travis Spencer - Twobo Technologies. Nordic APIs World Tour 2015: May 11 - Copenhagen. Travis Spencer argues that API keys are insufficient for implementing proper API security and identity management. This talk delves into OAuth and OpenId Connect, with the goal to create a holistic approach to API and enterprise security that keeps all systems safe through a multi-faceted approach to identity control. This talk specifically covers: - The risks of relying solely on API keys - Fundamental introduction to OAuth as an identity delegation protocol - The actors involved in an OAuth process - Step-by-step processes involved in the common web server OAuth flow (validating tokens, returning data, etc.) - Overview of scopes, permissions and delegations. - Kinds of tokens (Access Tokens, Refresh Tokens) - Profiles of tokens (Bearer, Holder of Key) - Overview on types of tokens (WS-Security, SAML, JWT) - Using OpenID Connect as a federation protocol - Step-by-step OpenID Connect flow example - and more For thought provoking pieces on everything APIs, check out the Nordic APIs blog: http://nordicapis.com/blog/ Read these Nordic APIs articles for more on API security: Deep Dive into OAuth and OpenID Connect: http://nordicapis.com/api-security-oauth-openid-connect-depth/ How To Control User Identity Within Microservices: http://nordicapis.com/how-to-control-user-identity-within-microservices/ Equipping Your API With The Right Armor: http://nordicapis.com/api-security-equipping-your-api-with-the-right-armor/ The Four Defenses of the API Stronghold: http://nordicapis.com/api-security-the-4-defenses-of-the-api-stronghold/ Techniques and Technologies to Increase API Security: http://nordicapis.com/building-a-secure-api/ The theme for the Nordic APIs World Tour was the API Lifecycle. Read these Nordic APIs articles for more information on managing an API's entire Lifecycle: http://nordicapis.com/envisioning-the-entire-api-lifecycle/ http://nordicapis.com/api-lifecycle-analysis-stage-preparing-your-api-strategy-pre-launch/ http://nordicapis.com/api-lifecycle-development/ http://nordicapis.com/api-lifecycle-operations-stage-marketing-your-api/ http://nordicapis.com/api-lifecycle-retirement-stage-a-history-of-major-public-api-retirements/
Views: 31545 Nordic APIs
Data Upload Part 3: Data Upload Using REST API
 
06:50
Part three of the Data Upload Tutorial Series: Part 1: Data Upload through the FME Server Web User Interface https://knowledge.safe.com/articles/1016/data-upload-part-1-direct-upload.html Part 2: Custom Pages for FME Server 2015 https://knowledge.safe.com/articles/584/data-upload-part-2-custom-pages.html Part 3: Data Upload through REST API https://knowledge.safe.com/articles/583/data-upload-part-3-rest-api.html
Views: 610 FME Channel
ASP NET Web API logout in arabic
 
09:10
Text version of the video http://csharp-video-tutorials.blogspot.com/2016/12/aspnet-web-api-logout.html Slides http://csharp-video-tutorials.blogspot.com/2016/12/aspnet-web-api-logout_12.html All ASP .NET Text Articles http://csharp-video-tutorials.blogspot.com/p/free-aspnet-video-tutorial.html All ASP .NET Slides http://csharp-video-tutorials.blogspot.com/p/aspnet-slides.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 217 kudvenkat.arabic
#02 - How To Setup Facebook Instant Articles For Website 2019
 
14:59
Hey guys in this video I will show you how to setup instant articles for your WordPress website, Facebook instant articles is most useful tools for a publisher. This video is the second video of our How To Earn Money From Facebook " Series, so in this video, i will configure WordPress website with the Facebook instant article. Earlier Facebook updates this instant article feature, in old instant articles feature you must require page apps but in the new update not any force to create the app as starting lever but the Facebook app is required for creating a ads unit for your instant articles. So finally guys watch completely this video and learn how to configure and setup facebooks instant article for WordPress website so let's start. #bmtechtips, #facebook, #instantarticles, - - - - - - - - - - Contact Us - - - - - - - - - - Hire me For any work like Website | SEO | Logo Designing and More. Email - [email protected] For Business Enquiries & Sponsorship Email - [email protected] - - - - - - - - - - Stay Connected With Us - - - - - - - - - - Website - http://bmtechtips.com Website - http://veewom.com YouTube - https://www.youtube.com/bmtechtips YouTube - https://www.youtube.com/bharatmakwana Facebook - https://www.facebook.com/bmtechtips Twitter - https://www.twitter.com/BMTechTips Google+ - https://plus.google.com/+BMTechTips Instagram - https://www.instagram.com/bmtechtips - - - - - - - - - - Gadgets & Tools I Use - - - - - - - - - - Laptop - https://amzn.to/2DpY8h8 Cooling Pad - https://amzn.to/2AmUymj Camera - https://amzn.to/2AnAFLO DSLR Mic - https://amzn.to/2AmfZ6Z Mobile - https://amzn.to/2K8mj1o Mobile Mic - https://amzn.to/2AjVHuK DSLR Tripod - https://amzn.to/2AmsjUF Mobile Tripod - https://amzn.to/2OpsYHU Mouse & Keyboard - https://amzn.to/2LMg885 - - - - - - - - - - My Power Backup Accesorios - - - - - - - - - - Inverter UPS - https://amzn.to/2LNr19J Exide 150Ah Battery - https://amzn.to/2OoMiFg Stabilizer - https://amzn.to/2LyRetA Extension Cord - https://amzn.to/2LL4hHy - - - - - - - - - - Thanks - - - - - - - - - - Thanks for watching our video, subscribe this channel for a more latest video like this, and also share this video on social media. Thanks, Bharat Makwana.
Views: 11171 BM Tech Tips
Using REST APIs in a web application | Quick PHP Tutorial
 
09:21
In this video I show you how to create a simple web application which converts a location into latitude and longitude using the Google Maps API. Then it uses those coordinates to pull images taken in that location from the Instagram API. Final PHP file used in this tutorial: https://github.com/jelled/geogram/blob/master/index.php Example Google Maps API call: https://maps.googleapis.com/maps/api/geocode/json?address=disneyland,ca Example Instagram API call using Disneyland's coordinates: https://api.instagram.com/v1/media/search?lat=33.8104856&lng=-117.9190001&client_id= Chrome extension I'm using to make JSON responses readable in the browser: https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc Outro music: "Rollin at 5 - electronic" Kevin MacLeod (incompetech.com) Licensed under Creative Commons: By Attribution 3.0 http://creativecommons.org/licenses/by/3.0/
Views: 464680 WebConcepts
REST API Tutorial (Node, Express & Mongo) #11 - Handling DELETE Requests
 
05:56
----- COURSE LINKS: + Repo - https://github.com/iamshaunjp/rest-api-playlist + Atom editor - https://atom.io/a + Download GIT - https://git-scm.com/ + Node.js for Beginners Playlist - https://www.youtube.com/playlist?list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp + MongoDB playlist - https://www.youtube.com/playlist?list=PL4cUxeGkcC9jpvoYriLI0bY8DOgWZfi6u --------------------------------------------------------------------------------------------- You can find more front-end development tutorials on CSS, HTML, JavaScript, jQuery, WordPress, Node.js & more on the channel homepage... SUBSCRIBE TO CHANNEL - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1 ========== PSD to WordPress Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9gnow7e45LQFkNVxwQ5BH-W ============ Node.js for Beginners Playlist ============= https://www.youtube.com/playlist?list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp ============== The Net Ninja ===================== For more front-end development tutorials & to black-belt your coding skills, head over to - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk ================== Social Links ================== Twitter - @TheNetNinja - https://twitter.com/thenetninjauk
Views: 25365 The Net Ninja
Ryan Paul: Build a REST API backend on top of RethinkDB w/out writing code
 
37:25
Learn how you can build an API backend on top of RethinkDB without writing any code. Ryan will show you a new open source software project that makes it easy to define REST endpoints powered by simple ReQL queries. The new tool is built on top of the Swagger standard and comes with a browser-based user interface for managing live API routes. It offers a convenient way to rapidly protoype working API backends, with data persistence and input validation. Ryan is a developer evangelist at RethinkDB. He is also a Linux enthusiast and open source software developer. He was previously a contributing editor at Ars Technica, where he wrote articles about software development. Recorded at Heavybit Industries on Feb. 25, 2016 Matthew Town Productions
Views: 10346 RethinkDB
HTTP GET PUT POST DELETE in arabic
 
12:37
Text version of the video http://csharp-video-tutorials.blogspot.com/2016/08/http-get-put-post-delete.html Slides http://csharp-video-tutorials.blogspot.com/2016/08/http-get-put-post-delete_30.html All Playlists https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All ASP.NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html
Views: 1028 kudvenkat.arabic
Asp.Net Core MVC Web App CRUD with EF Core
 
51:20
Asp Net Core MVC Web App CRUD with EF Core Using Code First Approach. In this video we will build an Asp.Net Core MVC Application using Entity Framework Core to implement CRUD Operations. Points discussed: - Getting started with Asp.Net Core Web App. - Dependency Injection in Asp.Net Core. - EF Core CRUD Operations using Code First Approach. Download Project From : ➤ https://goo.gl/E13H2R Buy me a Coffee (Channel Support By Donation) ➤ https://goo.gl/bPcyXW Text Article : ➤ https://goo.gl/n5YM54 Subscribe to this channel ➤ https://goo.gl/RFY5C2 Link to this video ➤ https://youtu.be/AHqIrJ_PlPY Our Website ➤ http://www.codaffection.com __ ✪ Related Videos https://youtu.be/R2dOyHJu4a8 : Web Api master detail crud in Angular 7 __ ⌘ Social Media Links Blog : http://www.codaffection.com Facebook : https://www.facebook.com/codaffection Google plus : https://plus.google.com/+codaffection Twitter : https://twitter.com/codaffection Youtube : https://youtube.com/codaffection __ ↪ About this Channel CodAffection - for passionate programmers. This channel is all about teaching and inspiring developers to build applications/ websites in various technologies like Angular, NodeJS, Asp.Net MVC, JavaScript, SQL, React, Python etc. 2 Videos per Week - 12:30 PM UTC On MON and THU __ ₪ All Playlist https://goo.gl/gvjUJ7 : Asp.Net MVC https://goo.gl/ahk39S : Angular 5 https://goo.gl/viJcFs : Node JS https://goo.gl/itVayJ : Web API https://goo.gl/YJPPAH : MEAN Stack https://goo.gl/s1zJxo : C# Tutorial https://goo.gl/GXC2aJ : Asp.Net WebForm https://goo.gl/vHS9Hd : C# WinForm https://goo.gl/MLYS9e : MS SQL https://goo.gl/Ha71kq : Angular 4 https://goo.gl/5Vou7t : Crystal Report https://goo.gl/EPZ69B : Common C# Excercises https://goo.gl/qEWJCs : CG Exercises in C Program #aspnetcore #entityframeworkcore #codaffection
Views: 31284 CodAffection
Full Stack Application With React And Spring Boot -  First 10 Steps
 
58:41
Full Stack Application With React And Spring Boot First 10 Steps Developing your first full stack application with React and Spring Boot is fun. In this course, you will learn the basics of full stack development developing a Basic Todo Management Application using React, Spring Boot and Spring Security Frameworks. Full Course - https://www.udemy.com/full-stack-application-with-spring-boot-and-react/?couponCode=YOUTUBE-2019 Githup Repo - https://github.com/in28minutes/full-stack-with-react-and-spring-boot You will build the application step by step - in more than 50 steps. This course would be a perfect first step as an introduction to React and Full Stack Development. You will be using React (Frontend View Framework), React Create App(To create React project), Various JavaScript Libraries (Axios, Formik, React Router), Spring Boot (REST API Framework), Spring (Dependency Management), Spring Security (Authentication and Authorization - Basic and JWT), BootStrap (Styling Pages), Maven (dependencies management), Node (npm), Visual Studio Code (JavaScript IDE), Eclipse (Java IDE) and Tomcat Embedded Web Server. We will help you set up each one of these. What You will learn You will develop your first full stack application with React and Spring Boot You will learn the basic of React - React Components and Routing You will learn basics of building awesome frontend applications with React You will be introduced to building great RESTful APIs with Spring Boot You will learn to use Spring Security to configure Basic Authentication and JWT You will learn to solve the challenges of connecting an React Frontend to a RESTful API You will learn to connect REST API to JPA/Hibernate with Spring Boot You will learn to use a wide variety of Spring Boot Starter Projects - Spring Boot Web, and Spring Boot Data JPA You will understand the best practices in designing RESTful web services You will develop a Todo Management Full Stack Application step by step with login and logout functionalities You will learn the magic of Spring Boot - Auto Configuration, Spring Initializr and Starter Projects You will understand how to make best use of Spring Boot Actuator and Spring Boot Developer Tools You will understand and use the embedded servlet container options provided by Spring Boot Requirements You should have prior experience with Java, Basic JavaScript and Spring Framework. You should have Chrome browser installed. We will help you install Eclipse, Visual Studio Code and Node JS(for npm) We will help you install Chrome Restlet Client Plugin and Chrome React DevTools Plugin We will help you learn the basics of Modern JavaScript, Spring Boot and JPA. Step Wise Details 000 - Full Stack Application with React and Spring Boot - Introduction 000 - Step 00 - Getting Started with the Course Getting Started with React - Basics with Components 01 Step 01 - Understanding Full Stack Application Architecture 01 Step 02 - Using Create React App to Create and Launch a React Application 01 Step 03 - Importing React App into Visual Studio Code 01 Step 04 - Exploring React Project Structure 01 Step 05 - Introduction to React Components 01 Step 06 - Playing with React Class Components 01 Step 07 - Introduction to Function Components in React 01 Step 08 - Exploring JSX Further - Babel and more 01 Step 09 - Refactoring components to individual modules and Quick Review of JavaScript Modules 01 Step 10 - Exercise - Creating seperate modules for other components Become a FullStackDeveloper and Architect - https://github.com/in28minutes/learn/blob/master/readme.md Download Presentation and Notes - https://courses.in28minutes.com/p/in28minutes-course-guide Java, Spring Boot, REST, Microservices Learning Path - https://www.youtube.com/watch?v=jf6doctfxWQ All Spring Boot Articles - http://www.springboottutorial.com/spring-boot-projects-with-code-examples The in28Minutes Way - https://github.com/in28minutes/in28minutes-initiatives/tree/master/The-in28Minutes-Way Troubleshooting Guide - https://github.com/in28minutes/in28minutes-initiatives/tree/master/The-in28Minutes-TroubleshootingGuide-And-FAQ Github - https://github.com/in28minutes/in28minutes-initiatives/tree/master/The-in28Minutes-Way The in28Minutes Way - 1 - Continuous Learning is the Key
Views: 5767 in28minutes
Implementing SSL in asp net web application   Part 101
 
14:23
Text version of the video http://csharp-video-tutorials.blogspot.com/2012/12/implementing-ssl-in-aspnet-web.html Slides http://csharp-video-tutorials.blogspot.com/2013/08/part-101-implementing-ssl.html All ASP .NET Text Articles http://csharp-video-tutorials.blogspot.com/p/free-aspnet-video-tutorial.html All ASP .NET Slides http://csharp-video-tutorials.blogspot.com/p/aspnet-slides.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists In this video we will discuss about 1. Understand the term self-signed certificates 2. Creating self-signed certificates 3. Configuring an asp.net web application to use SSL, that is use HTTPS instead of HTTP 4. Importing and exporting certificates What are self signed certificates A self-signed certificate is an identity certificate that is signed by its own creator. Certificates are signed by Certificate Authority. In general self signed certificates are fine for testing purposes and not for production use. Creating self-signed certificates There are several ways to create self signed test certificates. Let us explore 2 of the easier options available. The easiest and simpler approach is to use IIS to create these certificates. In IIS 7.5 1. Click on the "Server Name" 2. Double click "Server Certificates" feature 3. Click on "Create Self Signed Certificate" link, under "Actions" 4. Specify a friendly name for the certificate and click OK. The friendly name is not part of the certificate itself, but is used by the server administrator to easily distinguish the certificate. The generated test certificate, is also automatically installed into the certificate store. MakeCert.exe tool can be used as another way to generate, test certificates. The following link from microsoft explains, various options that can be used with this tool. This is a command line tool and must be run from visual studio command prompt. http://msdn.microsoft.com/en-us/library/bfsktky3.aspx Makecert -r -pe -n "CN=YourComputerName" -b 01/01/2000 -e 01/01/2100 -ss my -sr localMachine -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 Note: Replace YourComputerName, with the name of your computer. Associating an asp.net web application with a specific certificate Add HTTPS site binding, if it is not already present 1. Open IIS 2. Expand the "Server Name" 3. Expand "Sites" 4. Select "Default Web Site" 5. Click "Binding" under "Edit Site" in "Actions" pane. 6. In the "Site Bindings" window, Click "Add" 7. Select Type = "https" and the SSL Certificate and click "OK" 8. Click "Close" on "Site Bindings" window At this point, you will be able to access your application using both HTTP and HTTPS protocol. When the site is accessed over HTTPS, you may receive a browser warning about the authenticity of the website. In a later video session we will discuss about resolving this. If you want to dis-allow, access over HTTP protocol there are 2 ways First Way: Remove HTTP binding at the IIS Server level. This option will prevent all the web applications, running on that server to use only HTTPS binding. Second Way: Let both the bindings be available at the server level and configure SSL settings at an application or web site level. 1. Select your web application in IIS 2. Double click "SSL Settings" from the features window 3. Make sure "Require SSL" checkbox is checked. 4. Click "Apply" under "Actions" pane Now, if you try to access the application using HTTP instead of HTTPS, you will get an error HTTP Error 403.4 - Forbidden The page you are trying to access is secured with Secure Sockets Layer (SSL) Use Import and Export feature of IIS to import and export certificates
Views: 78998 kudvenkat
Enable SSL in Visual Studio Development Server in arabic
 
08:54
Text version of the video http://csharp-video-tutorials.blogspot.com/2016/09/enable-ssl-in-visual-studio-development.html Slides http://csharp-video-tutorials.blogspot.com/2016/09/enable-ssl-in-visual-studio-development_26.html All ASP.NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspot.com/2016/09/aspnet-web-api-tutorial-for-beginners.html All ASP.NET Web API Videos https://www.youtube.com/playlist?list=PL6n9fhu94yhW7yoUOGNOfHurUE6bpOO2b All Dot Net and SQL Server Tutorials https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd
Views: 312 kudvenkat.arabic
Python Tutorial: Web Scraping with BeautifulSoup and Requests
 
45:48
In this Python Programming Tutorial, we will be learning how to scrape websites using the BeautifulSoup library. BeautifulSoup is an excellent tool for parsing HTML code and grabbing exactly the information you need. So whether you're pulling down headlines from news sites, scores from sports websites, or prices from an online store... BeautifulSoup and Python will help you get this done quickly and easily. Let's get started... The code from this video can be found at: https://github.com/CoreyMSchafer/code_snippets/tree/master/BeautifulSoup Difference Between Parsers: https://goo.gl/zdy9br Python File Objects: https://youtu.be/Uh2ebFW8OYM Python Strings: https://youtu.be/k9TUPpGqYTo Python Try/Except: https://youtu.be/NIWwJbo-9_8 Python CSV Files: https://youtu.be/q5uM4VKywbA ✅ Support My Channel Through Patreon: https://www.patreon.com/coreyms ✅ Become a Channel Member: https://www.youtube.com/channel/UCCezIgC97PvUuR4_gbFUs5g/join ✅ One-Time Contribution Through PayPal: https://goo.gl/649HFY ✅ Cryptocurrency Donations: Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3 Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33 Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot ✅ Corey's Public Amazon Wishlist http://a.co/inIyro1 ✅ Equipment I Use and Books I Recommend: https://www.amazon.com/shop/coreyschafer ▶️ You Can Find Me On: My Website - http://coreyms.com/ My Second Channel - https://www.youtube.com/c/coreymschafer Facebook - https://www.facebook.com/CoreyMSchafer Twitter - https://twitter.com/CoreyMSchafer Instagram - https://www.instagram.com/coreymschafer/ #Python
Views: 197216 Corey Schafer
IIS Internet Information Services and ASP.NET   Part 9
 
14:26
Text version of the video http://csharp-video-tutorials.blogspot.com/2012/10/iis-internet-information-services-and.html Slides http://csharp-video-tutorials.blogspot.com/2013/08/part-9-iis-aspnet.html All ASP .NET Text Articles http://csharp-video-tutorials.blogspot.com/p/free-aspnet-video-tutorial.html All ASP .NET Slides http://csharp-video-tutorials.blogspot.com/p/aspnet-slides.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists In this videos we will learn about 1. What is a Web Server 2. Do you need IIS to develop and test asp.net web applications 3. How to check if IIS is installed? 4. Installing IIS 5. Configuring IIS server to run asp.net web applications
Views: 336856 kudvenkat