-
Recent Posts
Archives
Categories
Author Archives: Obi Oberoi
Generate SSH Key to Connect to GitHub
If you are not sure you have an SSH key already installed on your machine, you can do a quick check by issuing the following command. I am using GitBash to do so: $ ls -al ~/.ssh If you don’t … Continue reading
How to get XML data from Web API
If you’ve come this far, I can only presume that you are well versed with RESTful Services. In any case, if you are new to REST, here’s the definition. Definition: Representational state transfer (REST) is a software architectural style that … Continue reading
Posted in .NET, Web API
Tagged ASP.NET Core, Content Negotiation, Content-Type, REST, RESTful, Web API, XML
Leave a comment
EF Core 5.0 is round the corner
EF Core 5.0 is in flux and is slated to be released along with .NET 5.0. One thing to note is that EF Core 5.0 will not run on .NET Framework, unlike its predecessors. I personally think, this is good … Continue reading
Posted in Uncategorized
Leave a comment
How to add multiple rows to a table at once
Let’s face it, most of the apps in the galaxy we live in are data bound. I don’t write apps that use sockets and presumably most of you don’t either, correct? Now, in our day to day lives, we generally … Continue reading
Posted in SQL Server
Leave a comment
How to Extend Session in ASP.NET
If you are building a web app using “Forms” as a mode of authentication, there’s really not much to it when it comes to extending a session automatically. What I am suggesting is that your web session will extend on … Continue reading
Posted in jQuery
Leave a comment
What is Blazor and Why should you Use it!
Introduction: According to Microsoft Docs, Blazor is a framework for building client-side web UI with .NET. It’s a feature of ASP.NET, the popular web development framework that extends the .NET developer platform with tools and libraries for building web apps. … Continue reading
Posted in UI Framework
Leave a comment
How to Call a UDF using ADO.NET
Let’s face it, most of us typically work with Stored Procedures with modest complexity using JOINS and such. Some of us embed Common Table Expressions (CTE) in the stored procs. If you are already using Entity Framework 2.2, you would … Continue reading
Posted in .NET, ADO.NET, SQL Server
Leave a comment
How to Enable .NET Core 3.0 Preview in VS2019
If you are in the process of creating a Blazor app in Visual Studio 2019 that you installed right after its launch (around April 2019 timeframe), chances are you’ll find the checkbox titled “Use previews of the .NET Core SDK” … Continue reading
Posted in .NET
Leave a comment
Migrate SQL data to Azure Cosmos DB
Azure Cosmos DB Azure Cosmos DB is a planet scale, JSON based schema free, No SQL database with multi-API support. Microsoft defines it as a globally distributed, multi-model database service that supports document, key-value, wide-column and graph databases. In this … Continue reading
Posted in NoSQL
Leave a comment
Entity Framework Core 3.0 Preview 4
Diego Vega, the Program Manager of the Entity Framework team recently announced on his blog some of the breaking changes in ASP.NET Core 3.0 Preview 4. Some of these changes include the following: LINQ queries are no longer evaluated on … Continue reading
Posted in ORM
Leave a comment