Base solution for your next web application

Activities of "xmarwin"

Hello. Thanks for quick reply. At the end it turned out that my appsettings.json file was configured not to copy to Debug folder, so the AbpZeroLicenseCode was always null. Thanks, Martin

Answer

Hi maliming. Thanks for the quick reply. I am not sure what happened but things that didn't work yesterday work today... I restarted my notebook, maybe that may have solved the issue? It's a bit embarrassing as I spend entire day yesterday trying to make this work. Anyway, consider it fixed.

Best regards, Martin.

Hello ismcagdas. I followed mentioned document but unfortunately I was not able to make it work.

This is - I guess - the essential part: Configuration.Localization.Sources.Extensions.Add( new LocalizationSourceExtensionInfo("AbpWeb", new XmlEmbeddedFileLocalizationDictionaryProvider( Assembly.GetExecutingAssembly(), "MyCompany.MyProject.Localization.Sources" ) ) );

  • I want to override this error message: "You have been logged out. Click ok to log in again". I can find it in the Abp.dll so I assume the AbpWeb should be replaced by Abp
  • I store the new translation in the same file as any other translations, so I replaced "MyCompany.MyProject.Localization.Sources" by "Adel.Portal.Localization.Portal"
  • Since this exception is raised by the Application module I put this code into the PortalApplicationModule PreInitialize method

I tried a few more things but the above mentiones seems to me the most logical :o).

What am I missing?

Thanks, Martin.

I have added this:

Configuration.Localization.Sources.Extensions.Add(
	new LocalizationSourceExtensionInfo("Abp",
		new XmlEmbeddedFileLocalizationDictionaryProvider(
			Assembly.GetExecutingAssembly(),
			"Adel.Portal.Localization.Portal"
		)
	)
);

to the PortalApplicationModule.PreInitialize() and added new row to the Portal.xml in Adel.Portal.Core project.

Best regards, Martin

@ismcagdas. Thanks, that did the trick. It's actually the other way round then I thought.

The code has to be indeed added to Core, not the Application project.

Thanks again for your help.

Best regards, Martin.

Open the RAD tool, click on Navigation properties tab then click Add new navigation property button and that's it.

It's ongoing project so maybe the problem is somewhere in already generated json files.

Not sure of the version number, but it wasn't that new fancy looking one. Probably last week or week before.

Unfortuantely not, Visual Studio still freezes after clicking on Add new navigation property button.

Yes, see attached:

The wer file mentioned in one of the log can be downloaded here: http://www.uschovna.cz/en/zasilka/KHGTY9U752WC9FCJ-MHD/

Thanks for the older version, but you are right - this one freezes as well.

Showing 1 to 10 of 12 entries