Base solution for your next web application

Activities of "squaresunion"

Hello, I create a project .NetCore Angular2 project. Was working good. I started following the step by step development guide. I added a new component. No compiling error in the project server side or client side. But I am facing the below error. I removed the component. Still that error. I cant figure out why just adding a component makes thing go that bad.

Uncaught SyntaxError: Unexpected token < at p (eval at webpackJsonp.14.module.exports (scripts.bundle.js:266), <anonymous>:2:523) at Function.globalEval (eval at webpackJsonp.14.module.exports (scripts.bundle.js:266), <anonymous>:2:2595) at text script (eval at webpackJsonp.14.module.exports (scripts.bundle.js:266), <anonymous>:4:17204) at Nb (eval at webpackJsonp.14.module.exports (scripts.bundle.js:266), <anonymous>:4:10360) at A (eval at webpackJsonp.14.module.exports (scripts.bundle.js:266), <anonymous>:4:13887) at XMLHttpRequest.eval (eval at webpackJsonp.14.module.exports (scripts.bundle.js:266), <anonymous>:4:16491) at XMLHttpRequest.wrapFn (polyfills.bundle.js:6489) at ZoneDelegate.webpackJsonp.543.ZoneDelegate.invokeTask (polyfills.bundle.js:5614) at Object.onInvokeTask (vendor.bundle.js:39489) at ZoneDelegate.webpackJsonp.543.ZoneDelegate.invokeTask (polyfills.bundle.js:5613) at Zone.webpackJsonp.543.Zone.runTask (polyfills.bundle.js:5413) at XMLHttpRequest.ZoneTask.invoke (polyfills.bundle.js:5667)

Hello, I am trying to use a primeng dropdownlist in a modal. Seriously I dont know whats going wrong there. Driving me nuts. Here is the dropdown in the component UI:

<p-dropdown [options]="squGenderList" [styleClass]="'squ-primeng-dropdowlist'" name="selectedGenderName" placeholder="Select gender" [(ngModel)]="selectedGender" optionLabel="name"></p-dropdown>

In the component .ts I am doing this

[code]squGenderList: GenderItem[] = [{ label: this.l('Male'), value: SquGenderEnum.Male }, { label: this.l('Female'), value: SquGenderEnum.Female }];
    selectedGender: GenderItem;

[/code:2g5vpp62]

But during saving if I want to retrieve the selected object doing this.selectedGender it doenst return the selected object. It only returns the selected value. what is wrong with that thing?

No matter which test project I try to run I have an exception Message: Microsoft.Data.Sqlite.SqliteException : SQLite Error 1: 'near "max": syntax error'. Can you guys help me with that? This is very annoying.

Regards

Hello, How to do a simple sql query withing the dbContext. I mean everything we usually used do not work: dbContext.Database.SqlQuery is not available. Why is this not available? How do to it?

Regards

Hello something that is really killing me

trying to execute a stored proc (Angular 5 .Net Core) g.Database.ExecuteSqlCommand("EXEC sp_GetNextBusinessId"); But is is always returning -1. Tried to use an output parameter, always returning value 0; Can somebody help. Please.

Regards

Hello, I am running into a huge issue here. I am working with a payment processor and have to receiver a post request into my application page in my web site. The problem is that angular 5 route doesnt accept post request. Didnt know that. Has aspnet Zero found a way to manage this problem? Dude I've never seen anything about this limitation on angular 5 man that sucks like hell.

Please help

Hello, Ive been looking for this in vain. How to activate email in debug mode please. Working on .Net Core/Angular 5.

Thanks

Hello Guys, Does somebody know how to assign default permissions to default static roles. I would like to be set up those permission to static roles at the start of the application and administrator shouldnt be able to modify it. I already know how to create default static roles (AppRoleConfig.cs)

Thanks in advance for answering.

Hello Guys, I Would like to know if I can copy users password directly from my former Asp.Net Sql Server Membership database to Aspnet zero .net core membership database without any change. Any body knows how this works?

Regards

Hello Guys, I noticed that in the native code of server side code (angular 5 .Net core) to read the appsettings.json file using this code JObject.Parse(File.ReadAllText("appsettings.json")); Is this working if I create a file appsettings.Production.json will this read the correct production file automatically if I change the ASPNETCORE_ENVIRONMENT to production? Or it is going to find appsettings.json on the drive? How does this work?

Regards

Showing 1 to 10 of 14 entries