Base solution for your next web application

Activities of "Mitch"

I've tried to update from 5.3 to 5.4.1 of my Core jQuery project. I used the GitHub merge method and then manually merged about 20 files that needed human intervention.

I've eliminated all the errors but when I run the project I'm getting a Method not found error in Startup.cs when the ABP framework is initialized.

The error is

An error occurred while starting the application.
MissingMethodException: Method not found: 'Void Abp.Configuration.SettingDefinition..ctor(System.String, System.String, Abp.Localization.ILocalizableString, Abp.Configuration.SettingDefinitionGroup, Abp.Localization.ILocalizableString, Abp.Configuration.SettingScopes, Boolean, Boolean, System.Object)'.
Abp.Zero.Ldap.Configuration.LdapSettingProvider.GetSettingDefinitions(SettingDefinitionProviderContext context)
MissingMethodException: Method not found: 'Void Abp.Configuration.SettingDefinition..ctor(System.String, System.String, Abp.Localization.ILocalizableString, Abp.Configuration.SettingDefinitionGroup, Abp.Localization.ILocalizableString, Abp.Configuration.SettingScopes, Boolean, Boolean, System.Object)'.
Abp.Zero.Ldap.Configuration.LdapSettingProvider.GetSettingDefinitions(SettingDefinitionProviderContext context)
Abp.Configuration.SettingDefinitionManager.Initialize()
Abp.AbpKernelModule.PostInitialize()
Abp.Modules.AbpModuleManager+<>c.<StartModules>b__15_2(AbpModuleInfo module)
System.Collections.Generic.List.ForEach(Action<T> action)
Abp.Modules.AbpModuleManager.StartModules()
Abp.AbpBootstrapper.Initialize()
Abp.AspNetCore.AbpApplicationBuilderExtensions.InitializeAbp(IApplicationBuilder app)
Abp.AspNetCore.AbpApplicationBuilderExtensions.UseAbp(IApplicationBuilder app, Action<AbpApplicationBuilderOptions> optionsAction)
DpmsCloud.Web.Startup.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) in Startup.cs
+
            app.UseAbp(options =>
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
Microsoft.AspNetCore.Server.IISIntegration.IISSetupFilter+<>c__DisplayClass3_0.<Configure>b__0(IApplicationBuilder app)
Microsoft.AspNetCore.Hosting.Internal.AutoRequestServicesStartupFilter+<>c__DisplayClass0_0.<Configure>b__0(IApplicationBuilder builder)
Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()

I've attached a snapshot to show the exact error location.

Any ideas?

I cannot seem to find a standard way within ASP Net Zero to automatically display Labels on required fields with a different style or asterisk.

Does this functionality exist?

If not, what approaches are being used by ASP Net Zero programmers to avoid manually styling each required input field?

I'm trying to use as much of the built in functionality to carry out standard tasks as I don't want to bypass any standard techniques within ASP Net Zero.

With that in mind, I'm generating many of my basic pages by using the Rad Tool. The Rad Tool creates an index page that uses the DataTable control to display data in a table.

The first column displays an Action dropdown list usually with View, Edit and Delete as options. Each of these options calls a Modal Page which is great for most scenarios.

var _viewDpmsClientModal = new app.ModalManager({ viewUrl: abp.appPath + 'App/XyzClients/ViewxyzClientModal', modalClass: 'ViewXyzClientModal' });

However, I have a situation where I want to load a Non Modal page and pass some parameters/model. Does Boilerplate/Zero have a standard function built in for doing this rather than using a simple window.location.href?

In other words, a sort of Non Modal Manager!?

When creating a new language (English (United Kingdom) en-GB) using the ASP Net Zero interface, I've noticed that it still shows the default language as English (US) despite setting the default to en-GB several times.

I can fix this by removing the US version of English from the options, but it will be problematic for people who might want both language options.

In addition to the Soft Delete filter I'd like to be able to add a filter for Archived data, I imagine using something named IArchive for the interface.

Is this straightforward to do?

Has anyone done something similar?

Will it involve a lot of work to get this going, are there any examples of how to create additional data filters?

I'm trying to get Telerik Reporting working with ASP.Net Zero

Part of the setup is to create an API controller.

I'm following the instructions for getting the Telerik Reporting working on ASP.Net Core ([https://docs.telerik.com/reporting/html5-report-viewer-asp-net-core-2#creating-a-sample-asp-net-core-project]))

However, I'm getting an error.

HTTP500: SERVER ERROR - The server encountered an unexpected condition that prevented it from fulfilling the request. GET - <a class="postlink" href="http://localhost:62114/api/reports/resources/js/telerikReportViewer-12.0.18.227.min.js">http://localhost:62114/api/reports/reso ... 227.min.js</a>

Are there any special considerations when setting up API controllers with ASP.Net Zero that I'm missing?

I already have Telerik Reporting running with an existing MVC app so I have had success in the past. I'm just concerned that there's something that I need to do in my ASP.Net Zero Web.Mvc when using API controllers.

Any ideas?

I've just tried for the last 48 hours to follow the ASP Net Zero Azure guide to get my app working in Azure, but no luck. I'm using the Core project with JQuery. I'm only trying to publish the MVC project, not the Public site.

I have had several existing web apps up and running on Azure for the last 2 years, but my attempts to get ASP Net Zero to work on Azure seem to be getting nowhere. As a last resort I went back to the beginning and used a fresh ASP Net Zero project with no modification except for the database connection strings. I decided to use a connection string that pointed to my existing Azure SQL subscription. Everything works perfectly on my local dev PC, but when I try to run the app after successfully publishing to Azure I get a HTTP ERROR 500 when it tries to redirect to /Account/Login.

I'm struggling to find out what the cause of the 500 error is. I've tried to add Application Insights but that not giving me any feedback regarding the error.

Does anyone have any clues as to what the error could be? Is the app trying to write to location that doesn't exist in the Azure environment? Could it be something to do with HTTPS?

I'm really out of ideas.

In the host Administration/Settings I have enabled Email verification and SMS verification. I've also replaced the dummy SMS code with Twilio SMS code.

However, when I log in to test it, I'm only offered Email verification from the dropdown options.

I've ensured the User has a phone number entered into their details. I did read in the instructions that it must be a "Verified" phone number although I'm not sure what a "Verified" phone number is and whether that could be the issue?

I don't care which SMS Text service to use, I just need an example of how to get this working with ASP.Net Zero. I'm happy to use Twilio or any popular service provider. So, can anyone provide some guidance or examples on how to get SMS working with ASP.Net Zero

I've been trying to get ASP.NET Zero working with SendGrid but it's not working. I'm using ASP Core and hosting on Azure. A guy posted on here that he'd got SendGrid working 3 years ago but I've followed his advice and it's still not working. Has anyone got any examples of successfully working code for Sendgrid?

Showing 31 to 40 of 41 entries