Base solution for your next web application

Activities of "gep13"

Hello,

I am trying to utilise the services, repositories, entity framework connection, that are used in the ASP.NET Zero Application, in another application. This is a Windows Service, and we want to use the same code to access the database that is used within the MVC application.

I have referenced all the necessary projects in my Windows Service, and I have been able to instantiate the service, and it successfully makes a call to the GetAll method. However, when it then tries to map the entity to the Dto, I get an error message:

Abp.ObjectMapping.IObjectMapper should be implemented in order to map objects

How can I go about passing the required mappings into the service layer for it to be used.

Thanks in advance.

Gary

Hello,

Thank you for taking the time to respond.

I have done what you suggested. Both the Mvc-Logs and Public-Logs folder are empty after trying to run the .\up.ps1 file.

If I run the command docker logs outputs_zero_mvc_1 then I get the following output:

Did you mean to run dotnet SDK commands? Please install dotnet SDK from: <a class="postlink" href="http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409">http://go.microsoft.com/fwlink/?LinkID= ... lcid=0x409</a>

Which is the same output as posted above.

Can you suggest anything else that I should try?

Thanks

Gary

Hello,

We have just downloaded the default ASP.NET Core + jQuery project of ASP.NET Zero, and we are running into issues running the .\build-mvc.ps1 and then the subsequent .\up.ps1 file.

The environment that I am running on is as follows:

dotnet --info

.NET Command Line Tools (2.1.4)

Product Information: Version: 2.1.4 Commit SHA-1 hash: 5e8add2190

Runtime Environment: OS Name: Windows OS Version: 10.0.16299 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\2.1.4\

Microsoft .NET Core Shared Framework Host

Version : 2.0.5 Build : 17373eb129b3b05aa18ece963f8795d65ef8ea54

docker --version

Docker version 17.12.0-ce, build c97c6d6

I can successfully run the .\build.ps1 file, and the Mvc and Public folder are created in the outputs folder, without any problems. However, when I run the .\up.ps1 file, I get the following:

Creating outputs_zero_mvc_1 ... done Creating outputs_zero_public_1 ... done

And then nothing.

If I run docker compose directly, rather than trying to run in the background, I get a little bit more information, which is:

Starting outputs_zero_public_1 ... Starting outputs_zero_public_1 ... done Attaching to outputs_zero_mvc_1, outputs_zero_public_1 zero_mvc_1 | Did you mean to run dotnet SDK commands? Please install dotnet SDK from: zero_mvc_1 | <a class="postlink" href="http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409">http://go.microsoft.com/fwlink/?LinkID= ... lcid=0x409</a> zero_public_1 | Did you mean to run dotnet SDK commands? Please install dotnet SDK from: zero_public_1 | <a class="postlink" href="http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409">http://go.microsoft.com/fwlink/?LinkID= ... lcid=0x409</a> outputs_zero_mvc_1 exited with code 145

Do you have any ideas about what is going on here? Is there anything that I need to change?

Thanks

Gary

Showing 41 to 43 of 43 entries