Thanks! that was it! :D
Hi, I have got a situation where I have to have 2 API with a same name and signatures as below:
namespace HomeStart.HomeStart.**AMS**
{
public interface IAMSAppService : IApplicationService
{
Task<SearchLoanOutput> SearchLoan(SearchLoanInput input);
}
}
namespace HomeStart.HomeStart.**Broker**
{
public interface IBrokerAppService : IApplicationService
{
Task<SearchLoanOutput> SearchLoan(SearchLoanInput input);
}
}
As you can see they are in 2 different namespaces. The problem seems around the SearchLoanInput and SearchLoanOutput though. I have created 2 sets of input and output for each within different namespaces (Dto). For some reason when I run the app the swagger does not get loaded and shows an error as: 500 : <a class="postlink" href="http://localhost:22742/swagger/v1/swagger.json">http://localhost:22742/swagger/v1/swagger.json</a>
Any thought?!
Hi All, Perhaps a simple inquiry: I have got a service guarded with permission attribute. How would I be able to call that service via Swagger? At the moment I am getting "Current user did not login to the application!" error which is right. But wonder if there is a way of bypassing the Authentication somehow from Swagger?
Regards,
Thanks Ibrahim. Is it possible to use multi tenancy enabled for my case and treat each application as a separate tenant? If yes, then I would have one Admin area per tenant, right? Do you recommend having multiple applications combined into one solution? All of these applications kind of communicate to each other.
Hi, I have just created a template as per the following specs: Project Type: ASP.NET CORE & Angular Project Version: v4.5.1 (Latest) Framework: .Net Framework 4.6.1
And receiving lots off incompatible errors as:
Severity Code Description Project File Line Suppression State
Error Package Microsoft.AspNetCore.Owin 2.0.0 is not compatible with net461 (.NETFramework,Version=v4.6.1) / win7-x86. Package Microsoft.AspNetCore.Owin 2.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0)
Or
Severity Code Description Project File Line Suppression State
Error Package Abp.AspNetCore 3.0.0 is not compatible with net461 (.NETFramework,Version=v4.6.1) / win7-x86. Package Abp.AspNetCore 3.0.0 supports: netstandard2.0 (.NETStandard,Version=v2.0)
....
Any thoughts?
Any further update on this ticket?
Hey Ibrahim, Thanks for your response. Yes that is exactly what I am looking for. Just not quite sure how to break the existing Authentication and Authorisation functions and entities into 2 or more pieces? Besides that, I was thinking of having one unified admin area to manage users and roles and other bits related... So perhaps my first wonder is if I can use the template that ASP Zero provides or I need to do it all from the scratch?
Hi All, I am proposing a migration plan for 20 different applications using ABP framework. One of the biggest deal is that we need to have one authentication/authorisation service for all the apps. Any idea if I can use existing templates provided by ABP Framework to achieve it?
Hi Payman, Any chance that you share your solution of switching calendars Eng<>Persian? What Angular component did you end up using for the DatePicker? I have already found this [https://github.com/fingerpich/jalali-angular-datepicker]) but it is a bit buggy!
Thanks in advance ;)
Thanks for your comment. I have got kind confused on when/how I can use Metronic components in my Angular 2 app?! I have downloaded the whole Metronic package from the provided link (1 GB). I found out that there is no component for Angular 2 in the package. So, does it mean that having the Metronic package means nothing, unless the project is in JQUERY or AngularJS? Can I use the Metronic components directy without having their Angular 2 equivalents? In the angular-cli.js I noticed the followings:
"../src/assets/bootstrap-datepicker/js/bootstrap-datepicker.min.js",
"../node_modules/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js",
"../node_modules/bootstrap-daterangepicker/daterangepicker.js"
But couldn't locate their usage anywhere in the solution! On the other hand, there are 2 components for date-time-picker for Angular 2 in the app\shared\common\timing folders as of date-time.component.ts and date-range-picker.component.ts which I can use. Is there any relevancy between the 2 Angular components and the above mentioned .js files in the angular-cli.js? I have actually commented the inclusion of .js files out in the angular-cli.js and didn't notice a change where the date-time.component are used! What is the app.js file in the assets\metronic\script folder? Do I need it? Can I modify it?
So, I am kind of lost in understanding the usage of Metronic components in the Angular 2 application and would appreciate any tip and comment on any above wonders! thanks