In this Repo, you will see two C# projects, wcfservicedemo is a basic web form service including main code and data table, and WcfServiceDemoTests is an MSTEST executor, which can contain units test for GetDate and InsertData functions.
Visual Studio 2022 .NET V4.8
- Right click on project WcfServiceDemo and rebuld the solution.
- Use Debug mode to run
- The web service of InsertData will be open on http://localhost:52411/InsertData.aspx
- Right click on project WcfServiceDemoTests and rebuld the solution.
- Open Test Explorer (go to Test > Test Explorer).
- Click Run All to execute your tests and view test results in the Test Explorer window.