Blog of Pi
I am a Solutions Architect and Developer from Chennai, India. For over 15 years, I've built windows and web applications of all sizes. Specialties: Cloud, Cloud Native & Digital Transformation
-
Versioning Web API
Change is an inevitable factor in the life cycle of an API. More and more organizations today face a dynamic and changing environment. The change is driven by factors within the enterprise like implement a new business model, expand to a new market. It can also be external such as disruptive technologies, new government regulations, changes happen in partner/consumer organization, etc. I will talk about versioning in general and versioning Web API using multiple versioning strategies in detail in this post.
-
Using Google Translation API with Dotnet Core
Recently i worked on a proof of concept with a requirement of language translation in Web application. There are lot of Language translation services available in the market but most of them failed with more than one parameters i checked for. The parameters i used for this study are Quality, Performance, Pricing, Ease of integration, Languages supported. As part of the exercise, I tried integrating some of the leading translation services with .NET application. This is the first post in the series and and i am going to talk about the integration of Google Translation API with Dotnet Core in this.
-
Restrict IP Address ASP.NET Core Web API
There are several ways to restrict access to a Web server based on the requestor’s IP address. We can do that from IIS or using inbound Firewall rules. But If you want to restrict access to one of the application deployed in the server based on the IP Address then you have to achieve that programmatically. In this post, i will guide you on how to restrict IP address in ASP.NET Core
-
Azure Bastion
Microsoft recently announced public preview of Azure Bastion, a managed PaaS service which provides RDP and SSH connectivity through a browser to access Azure VMs. It eliminates the need of a public IP address assign to the VM. Azure Bastion is deployed in the Virtual Network and provides RDP/SSH provision for all the VMs in the same Virtual Network.
-
Swagger with ASP.NET Core Web API
APIs allow enterprises to exchange data between systems. These APIs are just like any application, with the small difference that they don’t have a user interface. Instead, APIs focus on database operations, validations, executing business rules and other background operations while providing a standard and consistent interface to these activities.
-
Code First Entity Framework Core
Most of the people worked with Entity Framework are familiar with the approach of generating databases through code is popularly known as the "Code First" approach. "Code First" workflow begins with classes that describe the conceptual model. Code first approach offers the most control over the final appearance of the application code and the resulting database. The following are the few advantages of this approach.
-
Restrict IP Address in ASP.NET Web API
There are several ways to restrict access to a Web server based on the requestor’s IP address either from IIS or using inbound Firewall rules. But If you want to restrict access to one of the applications deployed in the server based on the IP Address then you have to achieve that programmatically.
-
HTTP 405 error with Web API
One of the developer in my team ran into a problem recently with the HTTP verb “PUT” and "DELETE" + ASP.NET Web API. We are using Visual Studio 2015 to develop the Web API and IIS Express is the default web server for testing. The Web API was working fine during the testing and started giving HTTP 405 errors when we published the Web API to the server.