Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "antonis"

I downloaded ASP.NET Core angular 2 v.4.0

I am trying to create the database. I followed this "Open Package Manager Console in Visual Studio, set .EntityFrameworkCore as the Default Project and run the Update-Database command as shown below: "

I am getting this error

The term 'Update-Database' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the 
path is correct and try again.
At line:1 char:1
+ Update-Database
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Update-Database:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
Question

Hi,

After the announcement from Microsoft that .NET 4.6.1 wont be supported in .NET Core 2 how can I proceed? Shall I upgrade to v4.0 which uses EF Core?

Thanks

Can you please tell me if there is any service that I can use to achieve retrieving the permissions from database for a user?

How can I get all permissions of all users. Is there any Rest endpoint that return these?

Due to the nature of my architecture I cannot make rest calls every time. So it is better to cache it as you suggested. My plan is the following:

Once the microservice is up I do a rest call and get all permissions. Then I cache them and do local checks. How can I achieve that?

Hi,

Can you give more details please?

I have exactly the same problem and I cannot proceed. Also the document is outdated (old project.json format)

Have the same problem. Just downloaded a test project (asp.net core and jquery) I run migrator then I run the site once I click New Tenant or Login I get this error

Hi,

My architecture consists of the aspnet core + Angular4 website (merged client and server into one website) and several microservices we wrote. As far I can see client and server (core) handle authorization very clean and neat. What I need is to be able to use authorization in the microservices as well. I.E create some permissions and grant them to several users. When this user attempts to call a microservice I need him to be authorised check against these permissions. Which is the best practise to achieve this?

Thanks

Hi,

Why do you use explitic Injector in angular 2 project. As angular suggests it is better to "leave the Automated Dependency Injection do its job"

Thanks

Showing 191 to 200 of 202 entries