This document discusses creating and consuming HTTP services with Web API in ASP.NET. It provides an overview of service frameworks, creating Web API services by deriving from ApiController and implementing actions, and consuming services using the HttpClient to call REST APIs and serialize/deserialize JSON. The document also covers configuring Web API routes to map URIs to controller actions based on HTTP verbs and parameters.
Deep Dive building solutions on the SharePoint Framework - SPS Brussels 2016Waldek Mastykarz
The must-see session for every SharePoint developer. Learn how to get the most out of the SharePoint Framework and build powerful solutions for SharePoint and Office 365 using the latest developer opportunities.
How can we develop websites where the different parts of the pages are developed by different teams? If you work in a large enough organization which has its content and services on the web, this is probably a question you have asked yourself several times.
With this talk I want to show that server-side rendered websites integrated on content (using transclusion) allow for high long-term evolvability compared to client-side rendering integrated with shared code. In other words, if you want a system with high long-term evolvability, you should not develop websites using only client-side JavaScript and integrate them using a shared components approach.
Breeze is a JavaScript library that helps you manage data in rich client applications. If you store data in a database, query and save those data as complex object graphs, and share these graphs across multiple screens of your JavaScript client, Breeze is for you.
Deep Dive building solutions on the SharePoint Framework - SPS Brussels 2016Waldek Mastykarz
The must-see session for every SharePoint developer. Learn how to get the most out of the SharePoint Framework and build powerful solutions for SharePoint and Office 365 using the latest developer opportunities.
How can we develop websites where the different parts of the pages are developed by different teams? If you work in a large enough organization which has its content and services on the web, this is probably a question you have asked yourself several times.
With this talk I want to show that server-side rendered websites integrated on content (using transclusion) allow for high long-term evolvability compared to client-side rendering integrated with shared code. In other words, if you want a system with high long-term evolvability, you should not develop websites using only client-side JavaScript and integrate them using a shared components approach.
Breeze is a JavaScript library that helps you manage data in rich client applications. If you store data in a database, query and save those data as complex object graphs, and share these graphs across multiple screens of your JavaScript client, Breeze is for you.
EXPERTALKS: Feb 2013 - Rise of the Single Page ApplicationEXPERTALKS
This presentation was part of EXPERTALKS: Feb 2013 conducted at Equal Experts India on 2nd Feb 2013. Visit http://meetup.com/expertalks to know more...
-------------------------------------------------------------------------------------
Don’t you get tired of web applications which reload an entire web page every time you send a request to the server?
Traditional web applications, which follow the “Thick Server Thin Client” design, pose a lot of hassles, whether it’s their UX or Responsiveness.
This presentation demonstrates how we do away with tradition and adopt the “Thin Server Thick Client” design approach to create a faster, more user-friendly Single Page Application.
FOCUS AREAS:
* Why Server Side MVC frameworks are a pain.
* Single Page Application Architecture
* Thick client using JavaScript; learning to love JSON objects.
* Best practices for building responsive web page.
* Considering Backbone.js as a Client Side framework.
SenchaCon 2016: Enterprise Applications, Role Based Access Controls (RBAC) an...Sencha
This session will cover a real-world example of an enterprise application built using role-based access controls (RBAC) that also support client customizations. We'll show how we built the application in Ext JS 4, and how we leveraged that solution in Ext JS 6. We'll include a detailed working example of how we solved our problem, some of the challenges we faced, and our approach. We'll talk about the new features we used in Ext JS 6, examples of custom components, and how to use a designer on your project. We'll show code examples for RBAC and how the same strategy supported client customizations.
AWS Community Day - Piyali Kamra - Conversational AI Ecosystem on AWSAWS Chicago
Piyali Kamra - Conversational AI Ecosystem on AWS
Learn tools, tech, and approaches to build scalable production grade conversational AI systems in a cloud native way. Stitching together Chatbots, AI, Natural language processing, ML models, and SageMaker.
AWS Community Day
aws community day | midwest 2019
GIB2021 - Dan Probert - BizTalk Migrator Deep Diveprobertdaniel
Slides from my BizTalk Migrator Deep Dive session at Global Integration Bootcamp 2021 session on Feb 27th 2021. This session gave more details about Microsoft's migration tool, how to get it, how to use it, and how it works plus demos of using it for various scenarios.
Tips and Tricks for Building Visual Studio WorkflowsMalin De Silva
This session covers the basics of creating Visual Studio Workflows for SharePoint and common challenges and best practices that can be used to make the development better.
Client-side rendering enable many things. We have independent frontend and backend deploys. It’s possible to update sections of the page without re-render everything. It’s easier for teams to develop their own part of the same page (widgets). And it’s possible to develop rich user interactions.
However, we also got new problems. It’s easier to break rendering since we have many run-times (all browsers) instead of one (the server) and JavaScript is not fault tolerant. There’s a really high rate of change in the JS library space. We get a longer time to first render. And client-side web applications are hard to evolve.
In this talk I will show a simpler way, using a toolbox of techniques: a gateway web server, pjax, client-side includes, and custom elements.
Learn how to build apps using Angular JS with Firebase(backend-as-a-service)!!
Room 6 (2nd Floor Conference Room)
In this presentation, we'll be using Angular JS and Firebase to create a simple web application from scratch and explore the awesome real-time syncing features provided by firebase. Combining Bootstrap, Angular JS with Firebase and Azure, we can build and deploy cross-platform HTML5 apps.
SPA(Single-page application) web-solutions are now a days the new standard of web development, becoming more and more popular and narrowing down the difference between a desktop and web application. JavaScript libraries/frameworks like Backbone, Knockout, Angular along with RESTful web APIs provide a great platform to develop SPA web-solutions.
Using React you can easily build web applications with rich UI. New to React? No worries! In this session you will learn what React is, why you would use it and how you could leverage React for building solutions for Office 365 and SharePoint.
In this presentation we are going to take a deep dive to the modern Team and Communication Site provisioning by hooking into the out-of-the-box site provisioning flow and by using SharePoint Framework for customization as well as extending the provisioning flow with Office Dev PnP toolset. How about provisioning Microsoft Team in addition to the team site? It is possible with Microsoft Teams commandlets - come to this session to learn how to do it. All the showcased code will be available in GitHub after the presentation.
In this slide, i have discussed the basics of angular and how can we make a Angular app beyond the 'hello world'. i also discussed about components, typescript etc in the slide. this was created for Angular Meetup Bangladesh 2017 session. Thanks
Clean up this mess - API Gateway & Service Discovery in .NETMarcin Tyborowski
Presentation about API Gateway and Service Discovery in .NET
Links:
https://devmentors.io/distributed-net-core/
https://microservices.io/patterns/index.html
https://www.consul.io/docs/index.html
https://github.com/canton7/RestEase
https://github.com/tbr09/TrashRouting
Blazor certification training - Dot Net TricksGaurav Singh
The Mastering ASP.NET Core course is primarily designed for .NET Beginner(s)/Professional(s) who want to learn how to develop modern cloud-based app using ASP.NET Core . In this course, you will learn about .NET Core, middleware, MVC pattern, html helpers, tag helpers, custom helpers, validation and custom validation, querying database using Entity Framework Core.
EXPERTALKS: Feb 2013 - Rise of the Single Page ApplicationEXPERTALKS
This presentation was part of EXPERTALKS: Feb 2013 conducted at Equal Experts India on 2nd Feb 2013. Visit http://meetup.com/expertalks to know more...
-------------------------------------------------------------------------------------
Don’t you get tired of web applications which reload an entire web page every time you send a request to the server?
Traditional web applications, which follow the “Thick Server Thin Client” design, pose a lot of hassles, whether it’s their UX or Responsiveness.
This presentation demonstrates how we do away with tradition and adopt the “Thin Server Thick Client” design approach to create a faster, more user-friendly Single Page Application.
FOCUS AREAS:
* Why Server Side MVC frameworks are a pain.
* Single Page Application Architecture
* Thick client using JavaScript; learning to love JSON objects.
* Best practices for building responsive web page.
* Considering Backbone.js as a Client Side framework.
SenchaCon 2016: Enterprise Applications, Role Based Access Controls (RBAC) an...Sencha
This session will cover a real-world example of an enterprise application built using role-based access controls (RBAC) that also support client customizations. We'll show how we built the application in Ext JS 4, and how we leveraged that solution in Ext JS 6. We'll include a detailed working example of how we solved our problem, some of the challenges we faced, and our approach. We'll talk about the new features we used in Ext JS 6, examples of custom components, and how to use a designer on your project. We'll show code examples for RBAC and how the same strategy supported client customizations.
AWS Community Day - Piyali Kamra - Conversational AI Ecosystem on AWSAWS Chicago
Piyali Kamra - Conversational AI Ecosystem on AWS
Learn tools, tech, and approaches to build scalable production grade conversational AI systems in a cloud native way. Stitching together Chatbots, AI, Natural language processing, ML models, and SageMaker.
AWS Community Day
aws community day | midwest 2019
GIB2021 - Dan Probert - BizTalk Migrator Deep Diveprobertdaniel
Slides from my BizTalk Migrator Deep Dive session at Global Integration Bootcamp 2021 session on Feb 27th 2021. This session gave more details about Microsoft's migration tool, how to get it, how to use it, and how it works plus demos of using it for various scenarios.
Tips and Tricks for Building Visual Studio WorkflowsMalin De Silva
This session covers the basics of creating Visual Studio Workflows for SharePoint and common challenges and best practices that can be used to make the development better.
Client-side rendering enable many things. We have independent frontend and backend deploys. It’s possible to update sections of the page without re-render everything. It’s easier for teams to develop their own part of the same page (widgets). And it’s possible to develop rich user interactions.
However, we also got new problems. It’s easier to break rendering since we have many run-times (all browsers) instead of one (the server) and JavaScript is not fault tolerant. There’s a really high rate of change in the JS library space. We get a longer time to first render. And client-side web applications are hard to evolve.
In this talk I will show a simpler way, using a toolbox of techniques: a gateway web server, pjax, client-side includes, and custom elements.
Learn how to build apps using Angular JS with Firebase(backend-as-a-service)!!
Room 6 (2nd Floor Conference Room)
In this presentation, we'll be using Angular JS and Firebase to create a simple web application from scratch and explore the awesome real-time syncing features provided by firebase. Combining Bootstrap, Angular JS with Firebase and Azure, we can build and deploy cross-platform HTML5 apps.
SPA(Single-page application) web-solutions are now a days the new standard of web development, becoming more and more popular and narrowing down the difference between a desktop and web application. JavaScript libraries/frameworks like Backbone, Knockout, Angular along with RESTful web APIs provide a great platform to develop SPA web-solutions.
Using React you can easily build web applications with rich UI. New to React? No worries! In this session you will learn what React is, why you would use it and how you could leverage React for building solutions for Office 365 and SharePoint.
In this presentation we are going to take a deep dive to the modern Team and Communication Site provisioning by hooking into the out-of-the-box site provisioning flow and by using SharePoint Framework for customization as well as extending the provisioning flow with Office Dev PnP toolset. How about provisioning Microsoft Team in addition to the team site? It is possible with Microsoft Teams commandlets - come to this session to learn how to do it. All the showcased code will be available in GitHub after the presentation.
In this slide, i have discussed the basics of angular and how can we make a Angular app beyond the 'hello world'. i also discussed about components, typescript etc in the slide. this was created for Angular Meetup Bangladesh 2017 session. Thanks
Clean up this mess - API Gateway & Service Discovery in .NETMarcin Tyborowski
Presentation about API Gateway and Service Discovery in .NET
Links:
https://devmentors.io/distributed-net-core/
https://microservices.io/patterns/index.html
https://www.consul.io/docs/index.html
https://github.com/canton7/RestEase
https://github.com/tbr09/TrashRouting
Blazor certification training - Dot Net TricksGaurav Singh
The Mastering ASP.NET Core course is primarily designed for .NET Beginner(s)/Professional(s) who want to learn how to develop modern cloud-based app using ASP.NET Core . In this course, you will learn about .NET Core, middleware, MVC pattern, html helpers, tag helpers, custom helpers, validation and custom validation, querying database using Entity Framework Core.
How Open Policy Agent (OPA) helps in externalizing authorization from Code in Micro Services world. Before that let's look how Authorization evolved in last decade.
Learn about the various SharePoint 2013 APIs, CSOM, SOM, OData/REST and WCF Data Services, and how to call them from your web applications, line-of-business systems, and back-end services, to leverage all the power of SharePoint 2013 without having to target and deploy code into SharePoint 2013.
It will describes SOAP/REST differences and SOAP web services in detail with practical approach. it shows usage of SOAP, XML, JAVA, WSDL, XSD and RPC with examples.
ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. ASP.NET Web API is an ideal platform for building RESTful applications on the .NET Framework.
Video :
https://youtu.be/qwLBeg1CPSo
Courtesy:
http://www.ifourtechnolab.com
(ATS6-DEV09) Deep Dive into REST and SOAP Integration for Protocol AuthorsBIOVIA
Pipeline Pilot has always had a strong focus on integration to external resources. In AEP 9.0 we continue this tradition with a major overhaul of our SOAP Connector component as well as improved support for RESTful services. In this talk we will look at how to build protocols that access SOAP services especially secured services and review the approach to accessing RESTful services.
The future of web development write once, run everywhere with angular.js and ...Mark Roden
This slide deck was used in support of BTE 102 - The future of web development write once, run everywhere with angular.js and domino at IBMConnectED 2015
Presentation was given with Mark Leusink
4. Web Services “Through the Years”
WCF “Brand”
• WCF “Classic”
• WCF Data Services
• WCF RIA Services
• WCF Web HTTP
ASP.NET “Brand”
• ASP.NET Web Services (ASMX)
• ASP.NET MVC
• ASP.NET Web API
• ASP.NET Web API Odata
• ASP.NET SignalR
Blatantly stolen from Daniel Roth’s Tech Ed 2013 “Serious Web Services” Session
5. SOAP vs. REST
?
SOAP REST
• XML Based Messaging
• Contains Envelopes, Headers, Body
• Can be sent over any transport
• WS* added Security, Reliability, Transactions…
• WCF is a full SOAP/WS* Framework
• REpresenation State Transfer
• Matches Architecture of the web
• REST Service =<usually>= HTTP Service
• Leverage HTTP methods (GET,POST,DELETE…)
• Web API is a way to create an HTTP Service
9. ASP.NET Web API
• Open source: aspnetwebstack.codeplex.com
– Nightly builds
• Web API 2 shipped with VS2013
• Learn more at asp.net/web-api
10. Creating a Web API
• Derive from ApiController
• Implement Actions
• Actions map to HTTP methods (GET, POST, PUT, DELETE)
– Either prefix your action method name with HTTP verb: GetCustomer
– Use Attributes if you want to name your action methods differently
• [HttpGet]
• [HttpPost]
• [HttpPut]
• [HttpDelete]
13. Consuming HTTP Clients
• Build your client side models (optional)
• Use the HttpClient to call REST Service URLs
– Set headers
– Query String
– Body (for POST and PUT)
• Use a JSON Serializer / Deserializer (Like Json.NET)
– Map objects to JSON (Serializer)
– Map JSON to Objects (Deserializer)
16. Configuring Routes
• Routes map URI templates to ApiControllers
– Default Route: api/{controller}/id
– {controller} + “Controller” = ApiContoller type name
– HTTP Verb (Get, Post, Put, Delete) is used to determine action
– {id} is passed as an argument to the action method
• For example:
– An HTTP GET to http://mysite.com/api/customer/1
– {controller} = “customer” => CustomerController class
– HTTP GET implies method that starts with the word “Get”
– {id} value looks for a Get(object id) method and passes {id} as arg