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

Activities of "bilalhaidar"

Hello,

In the MVC/Angular js version of the template, clicking on the Logo menu, collapses/expands the side-bar.

With the new template (Core) clicking on navigation menu icon, nothing happens.

I am referencing the menu icon in an attached image.

Thanks

Hello, I downloaded the combined project (latest). Opened in VS and tried to build the solution and I got around 1552 Errors. I am using VS 2017.

Attached is a list of all errors I am seeing in VS. error-log.zip

Hello, Is it possible to keep the Angular and Core apps separate and develop instead of combining them both in one app?

How would then I deploy the app to IIS?

One more question, what are the databases available for the Core/Angular?

Thanks Bilal

Hello,

I've been using the ASP.NET MVC 5 + Angular 1.x for some time.

I've recently started learning Angular 2, and I should be starting a new course on ASP.NET Core.

I am planning to switch to using the Angular 2 project type for this framework. Do you think it's a good idea? Would it be difficult for me? But then I think again, how would I be able to learn those technologies if I dont start using them in a project.

I am not sure of the complexity of the ASP.NET Core/Angular 2 app here, that's why I am asking, ..

Thanks in advance.

Hi, I am developing a "Survey System" that includes some Angular js, CSS and HTML code in addition to Application Services and Domain Services and MVC controllers (basically for file uploads).

Can I include all these in a Module? For the static files I can make them embedded resources. Would that work? Or additional things are needed?

Thanks

Hi, I followed the documentation to provide an oData Web API for one of the entities.

  1. I installed the Abp.Web.Api.oData nuget onto the WebApi project
  2. Added dependency to AbpWebApiOdataModule onto the WebApi module
[DependsOn(typeof(AbpWebApiModule), typeof(OnlineSystemsApplicationModule), typeof(AbpWebApiODataModule))]
    public class OnlineSystemsWebApiModule : AbpModule
    {
        public override void PreInitialize()
        {
            var builder = Configuration.Modules.AbpWebApiOData().ODataModelBuilder;

            //Configure your entities here...
            builder.EntitySet<PersonofConcern>("PersonofConcern");
        }

        public override void Initialize()
        {
            IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly());

            //Automatically creates Web API controllers for all application services of the application
            Configuration.Modules.AbpWebApi().DynamicApiControllerBuilder
                .ForAll<IApplicationService>(typeof(OnlineSystemsApplicationModule).Assembly, "app")
                .Build();

            Configuration.Modules.AbpWebApi().HttpConfiguration.Filters.Add(new HostAuthenticationFilter("Bearer"));

        }

    }
}
  1. Then created a new Controller: PersonofConcernController inside the Controllers folder:
public class PersonofConcernController : AbpODataEntityController<PersonofConcern>
    {
        public PersonofConcernController(IRepository<PersonofConcern> repository)
            :base (repository)
        {

        }
    }

When I run the application as <a class="postlink" href="http://localhost:8080/odata/PersonofConcern">http://localhost:8080/odata/PersonofConcern</a> in the browser,

I get all json data of all records in DB but not all columns are returned, only a few subset.

Where shall I look into this?

Thanks

Now that VS 2017 for Mac is here, I was able to create an ASP.NET MVC website (not core normal one).

Can I open the ASP.NET Zero web app on VS 2017 Mac and it will run? I can connect to Azure Database as I don't have SQL Server on Mac.

Thanks

Hi, In the documentation it says:

ASP.NET Boilerplate does not wrap Web API actions by default if the action has successfully executed. But it handles and wraps for exceptions.

In the ResultWrapperHandler.cs inside Web.Api project, I noticed it starts as:

protected virtual void WrapResultIfNeeded(HttpRequestMessage request, HttpResponseMessage response)
        {
            if (!response.IsSuccessStatusCode)
            {
                return;
            }

For this in contradiction to what documentation says unless I am looking at the wrong class.

Appreciate your feedback.

Thanks

Question

Hi, I need to extend the Permission class to add a new Property.

I have several forms created in the app. I have a permission per form who can submit.

Elsewhere, I want to list those forms, so I would query the user permissions and return the new Property I want to add. The new property would represent the Form Name.

Is this doable? Is there a better option?

Thanks

Hi, In my app, I am about to start developing a survey system whereby users can create new Surveys and fill them.

A user would need to find a list of Surveys that he/she has access to.

How can I make use of Permission system to do so?

I thought of creating a new Permission with every new Survey, but the framework doesn't allow this.

Another option would be to assign the Survey to 1 or more roles, those who belong to those roles can run the Survey.

Any suggestion on how to proceed?

Thanks

Showing 51 to 60 of 174 entries