There is a lot of questions out there on how to focus on a particular cell in a WPF application. If you have the data in you datagrid updated from somewhere else, maybe from SignalR or just updating your Observable object from somewhere in your application, and you want to focus that particular row and… Continue reading WPF datagrid focus on cell
You probably want structure your project so that you can separate concerns. In our traditional applications, we are calling into reusable libraries to handle tasks, but with inversion of control (IoC) it is the framework that is calling into the code. By using IoC we are increasing modularity and are making our service more extensible.… Continue reading IoC in ASP.NET Web API projects
When you want to decentralize your application with independently deployable services you would probably design your software applications in a Microservice Architecture style. While there is no “best practice” or pattern to follow, you will most likely already have several projects running that would benefit from being smaller endpoints totally independent. Having a HTTP API… Continue reading Authentication in a microservices architecture (.net)
This post is a superfast guide to using Redis Cache on Azure with a small sample project using StackExchange.Redis. You can download the project here. On your Azure portal click on “New -> Redis Cache” and create a DNS name, a Resource name and select your plan. In Visual Studio, create a new Console Application.… Continue reading Redis Cache on Azure
One of the new cool features of the mongoDB Driver is that you can hook up to events on mongoDB and do monitoring/logging for your application. In this post I will show you a simple ASP.NET MVC project with logging. First of all, you need to get the project up and running and get the… Continue reading MongoDB Driver events
This post is a beginner’s guide to setting up a ASP.NET web API project with OAuth 2.0 Authentication. You can follow the simple steps on youtube. You can download a sample project on my gihub. In Visual Studio, create a new ASP.NET Web project, select Empty and add folder and core references for Web API.… Continue reading Implement an OAuth 2.0 Authorization Server using OWIN OAuth middleware on ASP.NET web API.
By now you have obtained your Code Signing Certificate and exported it so you have your .pfx file ready to go. In case you have not done this you can read the 3 step guide on how to do this here. Now we are ready to sign your executables with your trusted Code Signing Certificate.… Continue reading Code signing WPF Application – Part 2
The purpose of code signing is to verify who the author of the software is and verifying that the software hasn’t been tampered with since it was sign. Threats of virus and potential damage that an executable can cause to a computer system is something we all know can cause a lot of time and… Continue reading Code signing WPF Application – Part 1