- Follow MSDev.pro blog on WordPress.com
Follow us
-
Recent Posts
- Integrating and Testing a Secured SOAP Client with Dependency Injection
- Securing a SOAP Client with OAuth2 in ASP.NET Core (WCF Behaviors)
- Calling a Secured SOAP Service from ASP.NET Core WebAPI (WSDL+ WCF)
- Evolving ZipMatch — from a simple function to a LINQ-style implementation
- Using an F# DSL to generate C# code
Categories
Recent Comments
Archives
Author Archives: Gaston
Setting up unit testing
Introduction In the previous posts I talked about unit testing. I gave some background, and I explained the flow of Test-driven Development (TDD). So now is the time to set things up. In this article I will use the calculation … Continue reading
Posted in .Net, Codeproject, Development, Methodology, Testing
Tagged Visual Studio;unit test
4 Comments
Test Driven Development
I talked about the necessity of testing in my previous post. I’ll talk about how we can implement TDD in our project in this post. When we talk about testing, there are a lot of tests that we can perform. … Continue reading
Is testing a waste of time?
tl;dr: NO Let’s elaborate As developers we all know that we’re supposed to test our code. We should write unit tests and yet usually this is the first action that we skip when we’re running out of time. As team … Continue reading
State Chart Diagram Part II
In part I we covered state chart diagrams in a basic way. Usually this is good enough to describe your states. You also want to keep thing simple (KISS). On the other hand it can be convenient to be able … Continue reading
Posted in Analysis, Codeproject, Development, OOAD, UML
Tagged State diagram; transition
Leave a comment
How to describe object state
Let’s say that we’re developing an application to manage invoices. Invoices will be created, modified, sent, (hopefully) paid or rejected, … Depending on the stage that an invoice is in, we can perform different actions on it. For example: it … Continue reading
Posted in Analysis, Codeproject, Development, OOAD, UML
Tagged Activity Diagram, State diagram
1 Comment
Let’s fix Windows Live Writer on Win10
The problem I installed Windows 10 on my computer, and then to make blogging easy I wanted to install Windows Live Writer. So I went to https://www.microsoft.com/en-us/download/details.aspx?id=8621 to download it and well enough, I received the setup file wlsetup-web.exe in … Continue reading
How to obtain the value of the selected radio button
Here is a simple way to get the value for the selected button in an html form, using jquery: <form> <input type=”radio” name=”status” value=”1″ /> Free <br /> <input type=”radio” name=”status” value=”2″ selected /> Reserved <br /> <input type=”radio” name=”status” value=”3″ /> Not available <br /> … Continue reading
Could not load file or assembly ‘System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’
When creating a new MVC5 application using VS2013 I got the following error: Could not load file or assembly ‘System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception … Continue reading
Posted in .Net, Development, MVC, MVC5, Web API
2 Comments
“Object reference not set to an instance of an object” when building my cloud project
In my Azure project I have a worker role and a wcf role. When compiling it failed (with no obvious reason) with this message in the output window: Error: Object reference not set to an instance of an object There … Continue reading
Posted in .Net, Azure, Development
Leave a comment
Managing IIS Express settings
Problem statement For ease of use I had put a web application using IIS Express at port 80. This implies that later on using IIS (the real one) didn’t work anymore because it uses port 80 by default too. So … Continue reading