.NET Daily

Recommended Resources


Popular Content


Navigation
AuthorDarius
Darius

Darius

Darius Dumitrescu is a creative Senior CMS Consultant with in depth .NET knowledge, focused on Web Development and Architecture Design.

Featured

Common .NET Exceptions

How to solve: An expression tree may not contain a dynamic operation – ASP.NET Core

Posted on July 6th, 2019.

This type of exception usually happens when you forget to declare in the view the model that you plan to use. In the code of the view, you will see the attributes underlined with a red line, as on the picture from below: The solution for this issue is to specify at the top of the page the model you plan to use: @model TestApp.Models.User

Featured

Generic

How to use DbContext Scaffold to add only selected tables – ASP.NET Core

Posted on July 1st, 2019.

In the situation when you develop your database gradually along with your ASP.NET Core project, you will end up in the situation where you need to add additional entities to your application, other than the ones you developed in day 1. Now, in order not to loose all the changes that you done to the existing models, like validation...

Featured

Visual Studio

How to Prevent Visual Studio 2019 to Open a New Browser Instance when Debugging

Posted on June 6th, 2019.

If you are like me and grow frustrated each and every time you get a new browser instance after you start a website debugging session, then you need to know that it can be very easy disabled. Just go to the properties of the Visual Studio project, select the Debug tab, and the uncheck the “Launch Browser” checkbox. In the...

Featured

Microsoft ASP.NET

Issues with Creating Cookies – ASP.NET Core

Posted on February 2nd, 2019.

I have spent quite a few hours in the past two days trying to understand why a very simple block of code for creating a cookie refuses to work in an ASP.NET Core Application. The code is the following: When this code is executed, everything is fine. No exceptions whatsoever. Still, the cookie was not created in the browser. I tested this...

Featured

Project Management

My View on the Life cycle of a Fixed Cost Web Project

Posted on July 1st, 2018.

I believe that for a good project manager it is important to be aware of all the phases of their project so that at any moment they can be prepared to take the right decision in the given context. The general life cycle of a fixed cost web project that I usually manage has the following phases: Initiation and Discovery Planning Project...

Featured

Project Management

How to Deliver Accurate Project Status Reports

Posted on April 21st, 2018.

Status reports in project management are great ways to provide to all project stakeholders good visibility over progress and performance. Furthermore, the reports can assure buy-in from the stakeholders if are structured enough to be concise and easy to read. Usually there are two main categories of project stakeholders that need to...

Featured

JIRA

JIRA Workflow for Web Development Example: Simple and Effective

Posted on April 17th, 2018.

By using a fairly simple JIRA workflow, you have good parts and of course bad parts. One of the good part is that everyone can understand the workflow in minutes. One of the bad parts is that the visibility over a task lifecycle or project progress is not good at all. In web development projects, there are several stages where a certain...

Featured

SQL

How To Solve: SQL Server detected a logical consistency-based I/O error: invalid protection option.

Posted on March 19th, 2018.

If you happen to receive the logical consistency-based I/O error, then your database probably ended up in an unusable state. SQL Server provide some options to repair it but it does that with the risk of potentially losing data. The syntax that I used to repair it is the following: ALTER DATABASE MyBrokenDB SET SINGLE_USER WITH ROLLBACK...

Featured

Sitecore

How to Remove a Profile Card or a Profile Key in Sitecore

Posted on March 10th, 2018.

For not really obvious reasons, Sitecore doesn’t provide an intuitive way to remove a profile card or profile key added to a page. Once you assign it to the page, you don’t have a way to remove it. One way to delete the profile card or profile key from a Sitecore item is to delete the assigned XML code directly from the item...

Featured

Project Management

How to Design Effective Training Programs

Posted on March 1st, 2018.

Training programs hold a major responsibility in each organization. They are responsible for preparing new or existing employees for gaining new skills or higher proficiencies on their new career path or new assignments. If the training programs are organized properly, they help employees achieve their maximum potential and they assure...