Category Archives: ASP.NET MVC

ASP.NET MVC

IoT Asset Management Using Graph Database Modeling

The Challenge Power grid systems are considered an integral part of modern society. Their robustness and efficiency not only impact our daily lives, but also influence economy, politics, and the global environment. Power grids continually evolve over time to accommodate … Continue reading

Posted in ASP.NET MVC, Business Metrics, Business Model, Problem solving, Programming, Software architecture, Uncategorized | Leave a comment

How to start using Entity Framework 6 with MySQL databases

To start using Entity Framework 6 and Visual Studio 2013 is necessary to install MySQL for Visual Studio 1.1.1 Beta and MySQL Connector/Net 6.8.1 Beta MySQL for Visual Studio 1.1.1 Beta can be downloaded with the following link: https://cdn.mysql.com/Downloads/MySQLInstaller/mysql-visualstudio-plugin-1.1.1.msi MySQL … Continue reading

Posted in ASP.NET MVC, C#, Problem solving, Programming, Uncategorized | Leave a comment

Build query string for System.Net.HttpClient get

From https://stackoverflow.com/questions/17096201/build-query-string-for-system-net-httpclient-get var query = HttpUtility.ParseQueryString(string.Empty); query[“foo”] = “bar<>&-baz”; query[“bar”] = “bazinga”; string queryString = query.ToString(); will give you the expected result: foo=bar%3c%3e%26-baz&bar=bazinga You might also find the UriBuilder class useful: var builder = new UriBuilder(“http://example.com&#8221;); builder.Port = -1; var query = … Continue reading

Posted in ASP.NET MVC, C#, Problem solving, Programming, Uncategorized | Leave a comment

Value cannot be null. Parameter name: source

Resolved with the following solution 1)Right click on the edmx file, select Open with, XML editor 2)Locate the entity in the edmx:StorageModels element 3) Remove the DefiningQuery entirely 4) Rename the store:Schema=”dbo” to Schema=”dbo” (if exists) 5)Remove the store:Name property … Continue reading

Posted in ASP.NET MVC, C#, Problem solving, Programming, Uncategorized | Leave a comment

Datalist for input text in Angular

src https://stackoverflow.com/questions/53058565/angular-and-datalist Using datalist with not get you what you wish in this case.. here is the code that partially works. After selecting any element the dropdown will not show as it was showing before. try using select with option. … Continue reading

Posted in ASP.NET MVC, Education and Training, Integration, Knowledge, Problem solving, Programming, Uncategorized | Leave a comment

3 ways to communicate between Angular components

Src: https://medium.com/dailyjs/3-ways-to-communicate-between-angular-components-a1e3f3304ecb How to communicate between components? This is the topic I’ve seen many new Angular developers to struggle with. I will show you the three most common approaches, with examples that fits different use cases. There is also the “redux … Continue reading

Posted in ASP.NET MVC, C#, Knowledge, Problem solving, Programming, Uncategorized | Leave a comment

How to Troubleshoot IIS Worker Process (w3wp) High CPU Usage

Source https://stackify.com/w3wp-high-cpu-usage/ Having IIS performance problems? Do you have w3wp.exe high CPU usage? In this article, we will discuss some tips to identify what is causing high CPU usage for your ASP.NET web applications. There are a lot of reasons that your … Continue reading

Posted in ASP.NET MVC, C#, Knowledge, Problem solving, Programming, Software architecture, Uncategorized | Leave a comment