Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 767 Bytes

README.md

File metadata and controls

35 lines (27 loc) · 767 Bytes

POC.ServerASMX

Application:

This application contains an example of ASMX Server

Unable to perform dependency injection

Cannot use interfaces as return type

Return classes must contain an empty constructor


Frameworks:

  • .Net Framework 4.7.2

Libraries (only most important):

  • Dapper
  • Microsoft.CodeDom.Providers.DotNetCompilerPlatform
  • Microsoft.VisualStudio.Azure.Containers.Tools.Targets
  • Newtonsoft.Json
  • NUnit
  • NUnit.Analyzers
  • NUnit3TestAdapter

How to configure and use:

  • Create an Empty Asp.Net Web Project (.Net Framework)
  • Add a new Web Service file (ASMX)
  • Nos métodos use a anotação: [WebMethod]
  • Method example:
    [WebMethod]
    public List<CustomerQueryResult> List() => _repository.List();