Base solution for your next web application

Activities of "olivierroecker"

Hi, I'm using the Developing step-by-step MPA tutorial to create my own Proof of Concept, the Entity People became Contact etc... A this time, the table is successfully created on DBB SqlServer 2016 with a id type Guid (not long or int). See my my code: public class Contact : FullAuditedEntity<Guid> { public override Guid Id { get; set; }

    public Contact()
    {
        Id = SequentialGuidGenerator.Instance.Create();
    }

===================.... ================= This table exists in my BDD, but the task Update-Database doesn't run the Seed process No error, no warning, just a table empty at the end...

using System.Linq; using Lexigone.Loxo_FrontOffice.EntityFramework; using Lexigone.Loxo_FrontOffice.LexDirectory;

namespace Lexigone.Loxo_FrontOffice.Migrations.Seed.Tenants { public class InitialContactCreator { public readonly Loxo_FrontOfficeDbContext _context;

    public InitialContactCreator(Loxo_FrontOfficeDbContext context)
    {
        _context = context;
    }

    public void Create()
    {
        var etienne = _context.Contacts.FirstOrDefault( p => p.EmailAddress == "[email protected]");
        if(etienne == null)
        {
            _context.Contacts.Add(
                new Contact
                {
                    FirstName = "Etienne",
                    LastName = "Tronc",
                    EmailAddress = "[email protected]"
                }
            );
        }

===================================..... ==============================

Can you help me ? Bests Regards. Olivier

Answer

I have exactly the same problem... I have added area="Mpa" in the html.action line in_layout file from Area MPA Folder . It was worked some time, but now the _layout in the folder src/PhoneBook/Views/layout run this issue, and the workaround is not possible;

Do you have a tutorial which explain how use a new area for custom dev, it will be a better source code implemetation :P ? Bests Regards Olivier

Perfect... Nice day :P

Hi, A this time, I can send a SMS to use a Two Factor Login, but the Phone Number in the user Profile must be confirmed, the boolean IsConfirmedPhoneNumber must be set to True. Do you implement in the ASPNZETZERO source code to change this boolean to True or the Admin must change it directly in the BDD with a SQL Script ? In a next release, do you plan to add all features around the Phone Number management ? change to false when the user change is number and resend a check SMS ? etc....

Bests regards

At this time, the default subject of the Email Activation code is "AbpZeroTemplate Security Code". Where or how can i change the subject of this email ?

Best regards

I'm using the last release of the ASPNETZERO release, i'm a new customer and i have searched these words in my solution with no result...., it's seems to be setup in Abp dll part of the project but not in the boilerplate framework itself, i don't find in in the source code or the boilerplate.... so strange no ?

Hi, In the case of a PIN code activation send by Email, It is the Subject describe in my first question. Can you find this subject in your source code in your side ?

Thanks in advance for your investigation. Regards

Hi, Sorry for the long time..... before my answser.. My APB.Zero RunTime Version is v4.0.30319....

good luck

Hi,

In a Modal form with a textarea, i would add a carriage return in a textarea field, but the Submit event is all times fire. I had tested these solutions follow by with no success <a class="postlink" href="http://stackoverflow.com/questions/895171/prevent-users-from-submitting-a-form-by-hitting-enter">http://stackoverflow.com/questions/8951 ... ting-enter</a>

in your aspnetzero packake, in the Administration/language, it's the same problem, i can't have a text in two lines... :? Can you propose to us a workaround ?

Best regards Olivier

Sorry, but this setting doesn't resolve the mystake.

See below a extract of a log: 36258 DEBUG 2017-05-01 11:46:27,423 [6 ] Abp.Net.Mail.NullEmailSender - <a href="mailto:[email protected]">[email protected]</a> 36259 DEBUG 2017-05-01 11:46:27,423 [6 ] Abp.Net.Mail.NullEmailSender - 36260: DEBUG 2017-05-01 11:46:27,423 [6 ] Abp.Net.Mail.NullEmailSender - AbpZeroTemplate Security Code 36261 DEBUG 2017-05-01 11:46:27,423 [6 ] Abp.Net.Mail.NullEmailSender - Your security code is: 931528 36262 DEBUG 2017-05-01 12:10:28,404 [1 ] Abp.Modules.AbpModuleManager - Loading Abp modules... .....

Great week-end AbpZeroTemplate Security Code.zip

Showing 1 to 10 of 20 entries