
Image from Pexels
Tagged articles - Visual Studio
Found 9 articles tagged with Visual Studio
30
Jul
2020
Basic authentication with Swagger and ASP.NET Core
.NET229 titlesSetting up basic authentication in ASP.NET Core Web API projects
0
Basic authentication is not so popular authentication method nowadays. There is a valid reason for that and that is mainly the way credentials are used to authenticate to access the resources...read more
22
Nov
2018
Install multiple packages from Visual Studio package manager console
PowerShell24 titlesAdding multiple nuget packages to the project from package manager console
0
If you are using Visual Studio 2017 as your main IDE, than you are probably familiar and used at least once NuGet package manager console. You may know or maybe not, but NuGet Package Manager relies on PowerShell script and Package Manager Console is basically hosted PowerShell command line inside Visual Studio.
This means, apart from NuGet commands, you can also execute PowerShell commands. ...read more
11
Sep
2018
Setting up .NET Core development environment on Ubuntu Linux
.NET229 titlesA quick guide for switching from Windows based Visual Studio 2017 to Visual Studio Code
0
With growing popularity of dotnet Core, Git and Docker, developers who used to work mainly on Windows are now getting used to CLI environment and obviously Linux. Windows is still a development environment platform of choice, bit since Microsoft already developed and published Visual Studio Code as a cross platform IDE for Windows, Linux and Mac.
Although it is still not mature as Visual Studio 2017, it is a decent tool for .NET Core applications development...read more
25
Jun
2018
Generate C# models from Protobuf proto files directly from Visual Studio
.NET229 titlesGenerating C# classes inside .NET Core project from proto using protogen
0
I wrote about boosting performances by choosing the right serialization in .NET projects. The top best performing according to my tests and many of the online comparisons are Apache Avro and Google Protocol Buffer (Protobuf) serialization...read more
18
May
2018
Seeding data in Entity Framework Core from Visual Studio
.NET229 titlesInsert sample data from Visual Studio IDE with EF core
0
Unlike Entity Framework 6, EF Core and whole .NET Core relies on dependency injection. For example, configuration is expected to be injected from the calling assembly instead of being available at any time...read more
01
Feb
2015
Creating Visual Studio ProjectTemplate VSIX package
.NET229 titlesHow to create VSIX package for ProjectTemplate
0
If you often have projects which setup is pretty much the same you might consider creating ProjectTemplate for Visual Studio.It speeds up development for the project setup, adding references, default configuration .config, content files... Before you start make sure that you have installed Microsoft Visual Studio 2013 SDK (http://www.microsoft.com/en-us/download/details.aspx?id=40758) and Nuget Package Explorer (http://npe.codeplex.com/)I also attached a small dummy project just to help understanding what is written in this article.Skipping to hands on code is always more helpful and faster for me to, so if you are bored by reading, download the attached .7zfile and explore it...read more
22
Jan
2015
Custom configuration section with intelisense
.NET229 titlesSetup intelisense for custom configuration sections in app.config
0
Config files are really useful and allow you to store some setting values without having to hard-code them. It provides out of the box configuration utility which is very flexible, but because of its flexibility, it has some drawbacks as well...read more
17
Dec
2014
Team Foundation Server Power Tools
.NET229 titlesIntegrate TFS in Windows Explorer in Tortoise SVN style
0
To be honest I really like Tortoise SVN. It is so easy to work with it from the file system and it is so easy to commit your code changes to public repositories on GitHub.
Unfortunately, if you would like to keep your code somewhere safe in cloud and keep it private, for GitHub option you will not get it for free.
...read more
16
Dec
2014
Separate Debug and Release code in C#
.NET229 titlesUse separate code for debug and release compilation in C#
0
Basic functionality of your code does what it should do regardless of whether it is compiled in Debug of Release mode. Only differences might be related to debugging the code and tracing errors during debug.
For sure you want more monitoring during the development (debug mode), so you would probably add some sort of logging.
...read more
.NET
5
Jun
2022
Using dotnet nuget package vulnerability scan in Azure DevOps build
Listing nuget vulnerabilities and controlling build in Azure DevOps
5
May
2022
Protecting static files in ASP.NET Core using custom middleware
Restricting access to specific static content with middleware in ASP.NET Core
20
Dec
2021
Supporting multiple authentication schemes in asp.net core webapi
Using more than one authentication schemes in webapi projects
12
Dec
2021
Controlling the flow of migrations in EF Core
Altering EF Core migrations execution order
28
Nov
2021
Unit of work pattern with Dapper
Implementing unit of work pattern with Dapper in .NET 5
21
Sep
2021
Adding display name to Enum values
Implementing additional values for Enum items in C#
JavaScript
28
Oct
2018
HTML5 localStorage with expiry with vanilla JavaScript
Using HTML5 localStorage with expiry
8
May
2018
Monitoring DOM changes with JavaScript
Handling DOM changes with plain JavaScript
9
May
2017
Non blocking CSS load on the page
Load external CSS files in an async manner
16
Mar
2017
Serialize html form to JSON without using JQuery
Transform user input from HTML form fields to JSON
17
Jan
2016
Copy text value to clipboard using jQuery
Simple sample of using jQuery to copy value to clipboard
11
Jan
2016
Resize image on the client side with JQuery
Reducing the upload sie by resizing image on the client side
SQL/T-SQL
22
Feb
2022
Select column names with values from SQL Server database
Fetching column names with its value in T-SQL using built in JSON methods
23
May
2020
Identifying opened connections for the specific application in SQL Server
Connection listing queries in SQL Server
3
May
2018
Reading JSON data in T-SQL on SQL Server
Extracting values from JSON string on SQL Server using T-SQL
28
Apr
2016
Create XML/HTML with T-SQL
Generating XML/HTML output in SQL Server
24
Nov
2015
IP address to octets split in TSQL
Split IP addresse into octets in SQL Server
20
Jul
2015
Getting first and last second of the current year, month and day
Using minimum and maximum date time in SQL query
Umbraco CMS
2
Mar
2018
Minify HTML output of your pages
Minification of HTML output using ASP.NET IHttpModule
18
Apr
2015
Generate sitemap.xml on the fly in Umbraco CMS
Simple sitemap.xml Umbraco handler
2
Mar
2015
Accessing UmbracoHelper in HttpHandler request
Working with UmbracoHelper and IPublishedContent in HttpHandler
14
Sep
2014
Same page language switching in Umbraco
Land on the same page in different language in Umbraco using Relations
4
Sep
2014
Getting cropped image the smart way
The way to get cropped image URL with option to load original image too
27
Aug
2014
Fastest way to return JSON result from a controller
Resturn JSON in MVC controller action