About 17,100,000 results
Open links in new tab
  1. How can i make a public sub in c# - Stack Overflow

    Oct 14, 2013 · If you want a C# method to be like a VB "subroutine", simply mark the return type "void". Otherwise, specify what type the function should return. For example: public string Notification() { ...}

  2. c# - How to work with a main project and sub-projects in visual studio ...

    Sep 23, 2018 · You can add a reference by right-clicking the SubProject in Solution Explorer, selecting References (or Dependencies if you're working with .NET Core/Standard), selecting Add Reference, and then selecting your MainProject from the Projects list.

  3. c# - Nesting projects within projects? - Stack Overflow

    Feb 9, 2019 · Specifically, I've got a Datalayer project in which I'd like to nest a couple of sub-projects, one to an SQL Server DB and the other to a Neo4j Graph DB. Ideally, I'd like to reference just the Datalayer (Project 3) from Project 1 or 2...

  4. Part 3 of 3: Creating sub-projects using the Visual Studio …

    Nov 27, 2006 · This post covers the final concept I wanted to share when using sub-projects with the Web Application Projects add-in, that is using a sub-project structure without using IIS, but instead with the built-in Visual Studio Development Server.

  5. Create multi-project templates - Visual Studio (Windows)

    Apr 1, 2025 · Create multi-project templates in Visual Studio that can act as containers for many projects at the same time and containers for projects of different languages.

  6. Part 1 of 3: Creating sub-projects in IIS with Web Application Projects

    Jun 30, 2006 · Part 1 of 3: In this post, I’ll describe the basics on how to setup a sub-project structure using IIS. Part 2 of 3: The next post will describe intricacies with master pages, user controls, and project references when using a sub-project structure.

  7. Organize projects for .NET Framework and .NET - .NET Core

    Sep 15, 2021 · You can create a solution that compiles for both .NET Framework and .NET side by side. This article covers several project-organization options to help you achieve this goal. Here are some typical scenarios to consider when you're deciding how to set up your project layout with .NET. The list may not cover everything you want.

  8. What is pub/sub and how to apply it in C# .NET to build a chat app

    May 5, 2023 · In this post I'll explain the publish/subscribe (pub/sub) pattern, and how you can apply it in a .NET 6 console app to make a chat application. You'll learn: What the pub/sub pattern is. When to use pub/sub. The benefits of using pub/sub. How to use the Ably .NET SDK to apply the pattern by creating a console application.

  9. Tutorial: Create a simple C# console app - Visual Studio (Windows)

    Create a C# console application in Visual Studio and explore some features of the Visual Studio integrated development environment (IDE).

  10. How to create Visual Studio Multi Projects .Net Solution

    Sep 19, 2020 · Add multiple C# projects to a solution using a globbing pattern (Unix/Linux only): PS Matech.Sample.Template> dotnet sln Matech.Sample.Template.sln add **/*.csproj. You can check dotnet sln.

  11. Some results have been removed