Search Sreeni's Insights

Filter by content type
Tag

#web-api

21 articles tagged with #web-api

technical March 25, 2020 13 min read

Lessons Learned: Changing the Team's Mindset Along with the Technology - Part 2

Lessons from changing a Web Forms team’s technology, development process and testing practices, including resistance, Scrum and decision-making bottlenecks.

#web-api #angularjs #spa
Read
technical March 11, 2020 9 min read

Lessons Learned: Revamping Web Forms into Web API and AngularJS - Part 1

Lessons from moving Web Forms sites to an ASP.NET Web API and AngularJS SPA, including maintainability, performance, SEO and a reversed WCF decision.

#web-api #angularjs #spa
Read
technical October 13, 2016 7 min read

Idempotency in REST APIs - why DELETE twice is still gone

REST API idempotency explained through safe DELETE retries, idempotency keys, action filters, atomic response storage and reliable client retry behaviour.

#idempotency #rest #web-api
Read
technical September 15, 2016 7 min read

Fine-grained vs coarse-grained APIs - avoiding chatty APIs

Fine-grained and coarse-grained APIs compared through response shape, client composition, network calls, latency, business views and the cost of chatty requests.

#api-design #rest #software-architecture
Read
cloud October 27, 2015 7 min read

How to secure ASP.NET Web API with OAuth 2.0 bearer tokens (OWIN)?

Securing ASP.NET Web API with OAuth bearer tokens through OWIN, covering token endpoints, external JWT issuers, bearer validation, claims, and authorization roles.

#oauth-2 #owin #web-api
Read
cloud October 13, 2015 7 min read

How to document ASP.NET Web API with Swagger?

Documenting ASP.NET Web API 2 with Swagger and Swashbuckle, XML comments, response contracts, and Swagger UI for an explicit API contract.

#swagger #swashbuckle #web-api
Read
technical June 25, 2015 7 min read

Single Page Application (SPA) architecture with AngularJS and Web API

Single Page Application architecture explained through AngularJS routes and services, ASP.NET Web API boundaries, token handling, deep links, validation, and trade-offs.

#spa #angularjs #web-api
Read
crafting April 28, 2015 7 min read

Exception handling best practices in .NET

Exception handling practices for .NET, ASP.NET MVC, and Web API covering swallowed exceptions, stack traces, specific catches, and global error handling.

#exception-handling #dotnet #aspnet
Read
technical April 2, 2015 6 min read

What is RESTful API - resources, verbs and status codes?

RESTful API design explained through resources, HTTP verbs, safety, idempotence, Web API 2 controllers, and status codes using a news article example.

#rest #web-api #http
Read
technical December 18, 2012 12 min read

How to test the application and keep it clean? - Part 12

This article shows how to unit test services, controllers, routes, helpers and the Web API with fakes, write integration tests with a rolled back transaction, and review SOLID in the application.

#asp-net-mvc #mvc-4 #csharp
Read
technical December 11, 2012 15 min read

How to build a Web API with ASP.NET MVC 4? - Part 11

This article builds an ASP.NET Web API for students on the same service, with routing, status codes, content negotiation, validation, dependency injection and a jQuery client.

#asp-net-mvc #mvc-4 #csharp
Read
technical December 4, 2012 26 min read

How to add registration, login, forgot password, change password, profile and logout? - Part 10

This article adds registration, login, logout, forgot password, change password and a profile page, with salted password hashes, account lock, one-time reset tokens and a testable design.

#asp-net-mvc #mvc-4 #csharp
Read
technical November 27, 2012 10 min read

How to use filters, model binding and validation? - Part 9

This article explains action filters and the filter pipeline, model binding sources and validation with data annotations and a custom validation attribute in ASP.NET MVC 4.

#asp-net-mvc #mvc-4 #csharp
Read
technical November 20, 2012 14 min read

How to build the views with layouts, partial views and HTML helpers? - Part 8

This article explains layouts, sections, partial views, child actions, display templates, built-in HTML helpers and custom helpers written with TagBuilder and the Razor helper.

#asp-net-mvc #mvc-4 #csharp
Read
technical November 13, 2012 23 min read

How to remove the repeated code with a base controller, base service and base repository? - Part 7

This article removes repeated code with a base controller, base service and base repository that handle exceptions, common responses, logs and traces using lambda expressions.

#asp-net-mvc #mvc-4 #csharp
Read
technical November 6, 2012 15 min read

How to build CRUD with Razor views and dependency injection? - Part 6

This article builds the student list, create, edit, details and delete screens with a service layer, view models, validation, Post-Redirect-Get and dependency injection with Unity.

#asp-net-mvc #mvc-4 #csharp
Read
technical October 30, 2012 9 min read

How lambda expressions, extension methods, delegates and events reduce the code? - Part 5

This article explains delegates, lambda expressions, extension methods and events in C#, and uses them for paging, filtering and enrollment notifications in the student application.

#asp-net-mvc #mvc-4 #csharp
Read
technical October 23, 2012 9 min read

How to model the data with Entity Framework and LINQ? - Part 4

This article models students, courses and enrollments with Entity Framework 5 Code First and queries them with LINQ, explaining deferred execution and the path from LINQ to SQL.

#asp-net-mvc #mvc-4 #csharp
Read
technical October 16, 2012 12 min read

How does routing work, with custom, nested and area routes? - Part 3

This article explains ASP.NET MVC routing with constraints, custom route constraints, nested routes, URL generation and areas, with screens and the real route table.

#asp-net-mvc #mvc-4 #csharp
Read
technical October 9, 2012 8 min read

How does an ASP.NET MVC request work from .NET 4.0 to 4.5? - Part 2

This article follows one ASP.NET MVC request from routing to the Razor view, and explains what changes between .NET 4.0 and 4.5, mainly the async actions.

#asp-net-mvc #mvc-4 #csharp
Read
technical October 2, 2012 10 min read

How to structure an ASP.NET MVC application? - Part 1

This article defines the Student Management System, explains the MVC pattern and shows how to split an ASP.NET MVC 4 solution into layers where the dependencies point towards the domain.

#asp-net-mvc #mvc-4 #csharp
Read

Browse Other Tags

#abstraction #aggregates #ai #ai-assisted-development #aks #algorithms #angular #angular-2 #angularjs #api #api-design #api-documentation #api-gateway #api-management #api-testing #api-versioning #apis #apm #app-service #application-insights #application-monitoring #architecture #architecture-decision-records #arm-templates #asp-net-mvc #aspnet #aspnet-core #aspnet-mvc #async-await #asynchronous #authentication #authorization #automation #azure #azure-app-service #azure-blob-storage #azure-cdn #azure-devops #azure-front-door #azure-functions #azure-key-vault #azure-monitor #azure-redis-cache #azure-resource-manager #azure-search #azure-service-bus #azure-sql #azure-web-app #azure-web-apps #backup #beginners #best-practices #binary #bounded-context #branching #branching-strategy #build-automation #burnout #business-case #caching #career #case-study #cdn #ci-cd #classification #clean-code #cloud #cloud-architecture #cloud-how-to #cloud-migration #cloud-native #cloud-readiness #cloud-security #cloud-solution-architecture #cloud-strategy #cloud-value #cloudflare #cloudflare-workers #code-quality #code-review #coding-practices #communication #compilers #composition #comprehension-debt #computational-thinking #computer-architecture #computer-basics #concurrency #configuration #container-service #containers #context-debt #continuous-integration #contract-testing #conventions #conway-law #cosmos-db #cqrs #csharp #data-access #data-architecture #data-representation #data-structures #datacenter-exit #ddd #defensive-coding #dependencies #dependency-injection #deployment #deployment-slots #design #design-patterns #design-principles #devops #dip #disaster-recovery #distributed-systems #distributed-transactions #dns #docker #docker-compose #documentation-debt #documentdb #domain-driven-design #domain-model #dotcover #dotnet #edge-computing #ef-core #encapsulation #engineering #engineering-practice #engineering-practices #enterprise-architecture #enterprise-integration #entity-framework #entity-framework-core #error-handling #event-driven #event-driven-architecture #event-grid #event-sourcing #events #eventual-consistency #exception-handling #failover #feature-toggles #feedback #finops #first #framework #frontend #frontend-architecture #future-state-architecture #fxcop #git #git-flow #github-flow #god-object #governance #growth #guard-clauses #guardrails #guidelines #hard-coding #helm #high-availability #hosting #http #iaas #idempotency #identity #information-hiding #infrastructure-as-code #inheritance #integration #ioc #isp #java #javascript #json-schema #jwt #key-vault #knowledge-management #kubernetes #language-generations #layered-architecture #leadership #least-privilege #lift-and-shift #linq #logging #logic-apps #lsp #magic-numbers #maintainability #maintainable-code #managed-service-identity #message-queues #messaging #metrics #microservices #migration #mocking #model-dependency-debt #modeling #monitoring #monolith #moq #multi-region #mvc-4 #n-tier #network-security-groups #networking #new-relic #nodejs #nosql #nuget #nunit #oauth #oauth-2 #object-modeling #object-oriented-thinking #object-relationships #observability #ocp #onion-architecture #oop #openid-connect #operating-systems #owin #paas #packages #pact #performance #pipelines #planning #polyglot-persistence #polymorphism #postman #powershell #problem-solving #process #productivity #programming-fundamentals #programming-languages #programming-paradigms #prompt-debt #prompt-engineering #pseudocode #pull-requests #react #real-world-modeling #real-world-problems #redis #refactoring #rehosting #release-management #repository-pattern #resharper #resilience #resiliency #rest #rest-api #rest-assured #retries #rpo #rto #saga #scalability #search #secrets #secure-coding #security #semantic-versioning #sentry #seq #serilog #serverless #service-bus #service-design #service-fabric #skill-debt #sla #software-architecture #software-basics #software-design #software-engineering #software-quality #solid #spa #sre #srp #ssl #static-analysis #storage #strangler-pattern #structured-logging #stylecop #substitutability #swagger #swashbuckle #system-design #tdd #tech-radar #technical-debt #technology-governance #terraform #test-doubles #test-driven-development #testing #thinking-like-a-programmer #traffic-manager #triggers #tutorial #twelve-factor #typescript #uml #understanding-computers-and-programming #unit-of-work #unit-testing #verification-debt #version-control #versioning #visual-studio #visual-studio-online #vsts #web-api #web-architecture #web-development #workflow