Monthly Archives: August 2021

Add Swagger to Web Api Project

This blog article shows you how to add Swagger to Web Api project in Visual Studio. Web Api for .NET Core will add Swagger if you select support OpenApi when creating the project but not Web Api for .NET Framework. … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet | Tagged , | Leave a comment

Repair the corrupted ascii text file

This blog article shows you how to repair the corrupted ascii text file. Maybe you can find a better way then do let me know. When you open a text file in Notepad++ and it shows like the screen below … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet, Operating System | Leave a comment

ASP.NET Blazor Call Web Api that return text/csv and save the file

This blog article shows you one of the possible ways to save the csv file return from Web Api. For the Web Api part, the details explanation is in the article at the end of this blog, the reference. The … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet, Data Platform | Tagged | Leave a comment

Discover how the cloud is driving business recovery and renewal

Explore the critical role cloud technology has played in helping organisations, citizens and societies adapt and thrive in this new cross-industry report by The Economist Intelligence Unit (EIU), sponsored by Microsoft. Read  The Transformation Imperative: Digital Drivers in the COVID-19 … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet, CTO, Data Platform | Tagged | Leave a comment

CTO August 2021 articles and resources

These are the good reads found in this month. Edge computing is coming, and businesses aren’t ready From ultra-connected autonomous cars to low-latency AR, VR and gaming: to remain competitive in the digital age, businesses will have little choice but … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet, CTO | Leave a comment

Razor Pages with Entity Framework Core in ASP.NET Core update to .NET 6

This blog article shows you how to convert the project in https://docs.microsoft.com/en-us/aspnet/core/data/ef-rp/intro?view=aspnetcore-5.0&tabs=visual-studio?WT.mc_id=DP-MVP-36769 to .NET 6 in Visual Studio 2022 (by the time you read this Microsoft might already have it converted as well). When you download the source code from … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet, Data Platform | Tagged , , | Leave a comment

Convert from localdb to SQL Server

This blog shows you how to convert your program that is using sqllocaldb to SQL Server. I download a sample from here https://github.com/techwithpat/BookSystemDemo. When I open the solution, pay attention to Db folder. It only has a file, Readme.txt/ In … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet, Data Platform | Leave a comment

Generate database from Entity Framework dbcontext

This blog article shows you one of the methods to generate the database from the Entity Framework Core (this maybe different from version to version of the Entity Framework). You can test this by download the source code stated at … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet, Data Platform | Tagged | Leave a comment

HTTP Error 500.31 – ANCM Failed to Find Native Dependencies

This blog article shows you one of the possible solutions to remove the error “HTTP Error 500.31 – ANCM Failed to Find Native Dependencies”. The error below happens, very likely you are using Visual Studio 2022 like me and open … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet | Tagged | Leave a comment