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

Activities of "daws"

Question

Hello there,

I start using OData to create a lot of reporting via excel powerBI.

Is it possible to secure odata calls with login ? via module zero or other form. (it's possible for odata; but how can I do it with ABP ;) )

Hello there,

In settings Management doc, it's specified that values are string and "We can store non-string values by converting to string".

Related to this sample :

//Getting a boolean value (async call)
var value1 = await SettingManager.GetSettingValueAsync<bool>("PassiveUsersCanNotLogin");

Is there a possibility to use GetSettingValueAsync<double> ? (for retrieving 0.2 value from "0.2" stored value. right now it's converted to "2")

if not, i could still convert it myself after retrieving the string.

thks for the help !

Hi :D

I have a console application which needs to call several different repository.GetAllListAsync() methods. I'm trying to get the different calls to run in parallel with Task.WaitAll in my main method.

However, since all repositories share the same context, I get the following error: "A second operation started on this context before a previous asynchronous operation completed.".

Is there a way for my console application to run each GetAllListAsync() call in parallel ?

Thanks

Hi there !

I was using resx files to maintain all my translation in an excel file easily. (copy/paste from the column) Since I convert it to xml files to use the dblanguagemanagement; it's a little bit difficult to easilty to maintain xml files for all languages. (thousands of entries for each 10 distinct languages)

Does anybody have a software to map an xml file fields or import/export csv/excel to a specific xml output ? I'll look further this afternoon, if you don't have any in mind :D

Have a nice day all ! ;)

Hi !

Is there any way to get the information if a user is logged in, in javascript without using "abp.services.app.session.getCurrentLoginInformations" ?

I would like to get the same top/right user section from Dashboard, on another SPA which could be accessible for public & authenticated user.

if not logged in, i'll include "login" link. if logged in, i'll display the menu.

in aspnetzero, this module in home page is from a mvc view with @model; i try to avoid the model, since my home controller return directly an angular page and not an mvc view, so i can't have the model with infos.

thks !

Hello there !

My current project was developped with the default aspnet abp Template. I've successfully converterted all my projects to match the aspnetzero Template, except for the web project.

In ASP ABP (public Template), all scripts (like jQuery) are in /Scripts, and managed by nuget packages. In ASPNETZERO, it's located in /libs/ and do not use nuget packages.

Related to these infos :

  • how do you easily update aspnetzero Template on latest nuget (jQuery & other stuff); or do you replace all files by hand ? (I see that some js files libs are not the latest version)
  • is it best to get rid of theses nuget (js lib) to match the aspnetzero Template ?

I can understand that it's for compatibility/stability reason (to avoid update if there is some breaking changes), but i thought that jQuery based on nuget package was easier to update.

thks for your thoughts !

Hi there,

for ICreationAudited, it creates "CreationTime" with DateTime type.

Is there any plan to convert theses interfaces to DateTimeOffset ? since my app will be deployed on serveral timezones it could be good to manage time data from one database to another one.

note : maybe related <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/40">https://github.com/aspnetboilerplate/as ... /issues/40</a>

Hi there !

My Website is accessible for public and registered users.

Even if there is no critical data, I would like that only users using ABP Website (public & registered) could access the WebAPI. The main reason is that I don't want that another concurrent could use my WebAPI calls.

The public user is not logged in, so i cannot use AbpAuthorize property because it does not have a token. So ... it's impossible.

My workaround idea is that each "non-registered user" should be logged as user named "public".

But in this way, I have to avoid settings changes / audit / etc for this specific user.

Is it a good idea for this workaround or you do have a better one ?

Thks !

Question

Hi there !

Related to SettingsDefinition; is it possible to add a custom field/column for settings ? (name, value, sortOrder) for example.

and last, I see the SettingDefinitionGroup code, to group settings by kind for the UI. Is it going to be developed/documented ? :)

related to this document line : "Group: Can be used to group settings. This is just for UI, not used in setting management."

Thks for your help !

Hey ! :)

I've a question about a specific architecture. I have to add 2 new features :

  • <ins>Memory cache accessible by WebAPI AND filled by a network connection</ins>

My goal is to have WebAPIs to retrieve DB stuff (already done) AND WebAPIs to retrieve infos from a realtime cache. I will NOT use SignalR for this part (for performance reason, i'll call webapi once each 5 minutes instead of receiving signalR datas each second) My realtime is delayed with 5-10 minutes, so it's not a problem.

This cache is not coming from DB but from a memory cache (list object) which is filled each second by a tcp stream.

Knowing that WebAPI IIS are initialized when called, i can't run a tcp service on IIS.

  • <ins>SignalR</ins>

I just need to create an windows service for that. (like you explained on <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/174">https://github.com/aspnetboilerplate/as ... issues/174</a> )

I see multiple solutions here for the memory cache :

  • <ins>Encapsulate my tcp service & WebAPIs TCP in a windows service.</ins>I create a separated windows service which SELF HOST webAPIs TCP and signalR In this way [list:i7cspscg] [*:i7cspscg]Current project (WebAPIs DB & Web) still works in the same process ISS
  • WebAPIs TCP are SELF HOSTED in a windows service & contains SignalR Hub also.

[/:m:i7cspscg] [:i7cspscg]<ins>Split the current project (WebAPI & Web) into 2 distinct process.</ins>

  • Web Project on IIS
  • ALL WebAPI (ABP DB & TCP) on a SELF HOSTED service. (with SignalR also)[/*:m:i7cspscg][/list:o:i7cspscg]
  • What do you think is the best solution ? (or another one ?)
  • [AbpAuthorize] is still going to work if webAPI is hosted on a different thread ? (Windows service vs Web IIS project)
  • To use ABPScripts WebAPI from different windows services (ports), do I simply include <script src="~/AbpScripts/GetScripts"> with the url & port from the specific service ?

Thks for your help !

Showing 31 to 40 of 44 entries