Base solution for your next web application

Activities of "xmarwin"

Thanks for looking into that, because every time I need to edit the entities using the tool, I have to comment out bunch of code (and then I must not forget to uncomment it, which is the biggest issue :o) ).

I figured what causes the freezing: We have generic classes that inherit from the entity, something like this:

[Table("AttributeValues")]
public class AttributeValue : FullAuditedEntity
{
    public virtual int AttributeDefinitionId { get; set; }

    public AttributeDefinition AttributeDefinition { get; set; }

    public virtual int? ServiceId { get; set; }

    public Service Service { get; set; }

    public virtual int? ServiceItemId { get; set; }

    public ServiceItem ServiceItem { get; set; }
}

public class AttributeValue<T> : AttributeValue
{
    public T Value { get; set; }
}

When I comment out the AttributeValue<T> : AttributeValue class, RAD tool starts working.

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

Yes, see attached:

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

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

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

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.

@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.

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

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.

Showing 1 to 10 of 12 entries