Base solution for your next web application

Activities of "tonid"

Hi,

This question has been asked before, please see #1292

Hi,

I have the following requirements:

a. User submit job from website b. Queue manager (application that we built) read job from db c. Worker service run background job and read job ID from queue manager

Do you have any suggestion about our requirements? And how to customize the backgroundJobManager to read outside DB and we can run job that reads from queue manager.

Thanks

<cite>hikalkan: </cite> It's symbolsource's problem, we don't have anything to do. Sorry for that. There was a great alternative Gitlink, but it does not support project.json/xproj format. We should wait until it supports and go with symbolsource for now.

Thanks for your answer. I have submitted new issue in <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/1207">https://github.com/aspnetboilerplate/as ... ssues/1207</a>. As I could not debug with source server uses symbolsource/myget. Is there way to debug ABP source beside using symbolsource?

Hi Hilal,

I want to debug aspnetboilerplate but symbolsource.org is internal server error. Any alternative server? Maybe we can use myget.

Hi,

We also need to use antiforgery tokens. It would be great if aspnetzero has this feature in web API and angular. Any update on this issue?

Hi,

I have this unit test:

public class WindsorRegistration_Tests : AppTestBase
    {
        private readonly ITestOutputHelper output;

        public WindsorRegistration_Tests(ITestOutputHelper output)
        {
            this.output = output;
        }

        [Fact]
        public void Should_Not_Have_Any_Misconfigured_Components()
        {
            // From http://blog.usermaatre.co.uk/programming/2014/11/27/testing-dependency-registrations-with-castle-windsor/
            var container = LocalIocManager.IocContainer;
            var key = SubSystemConstants.DiagnosticsKey;
            var host = (IDiagnosticsHost)container.Kernel.GetSubSystem(key);
            var diagnostic = host.GetDiagnostic<IPotentiallyMisconfiguredComponentsDiagnostic>();
            var problems = diagnostic.Inspect();

            if (problems != null && problems.Any())
            {
                var message = new StringBuilder();
                message.AppendFormat("Misconfigured components ({0})\r\n", problems.Count());

                //Iterate over the problems, writing messages to the console
                foreach (IExposeDependencyInfo problem in problems)
                {
                    var inspector = new DependencyInspector(message);
                    problem.ObtainDependencyDetails(inspector);
                }

                output.WriteLine(message.ToString());
            }

            // No misconfigured components
            problems.Count().ShouldBe(0);
        }

    }

Then I get the following output message:

'Abp.Events.Bus.Handlers.Internals.ActionEventHandler`1' is waiting for the following dependencies:
- Service 'Action`1' which was not registered.

'Abp.Localization.Sources.Resource.ResourceFileLocalizationSource' is waiting for the following dependencies:
- Parameter 'name' which was not provided. Did you forget to set the dependency?
- Service 'System.Resources.ResourceManager' which was not registered.

'Abp.Localization.Sources.Xml.XmlLocalizationSource' is waiting for the following dependencies:
- Parameter 'name' which was not provided. Did you forget to set the dependency?
- Parameter 'directoryPath' which was not provided. Did you forget to set the dependency?

'Abp.Localization.MultiTenantLocalizationDictionary' is waiting for the following dependencies:
- Parameter 'sourceName' which was not provided. Did you forget to set the dependency?
- Service 'Abp.Localization.Dictionaries.ILocalizationDictionary' which was not registered.

'Abp.Runtime.Caching.Memory.AbpMemoryCache' is waiting for the following dependencies:
- Parameter 'name' which was not provided. Did you forget to set the dependency?

So, how to resolve these dependencies? I think this test should be included in aspnetzero.

Question

I have created the issue here <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/issues/193">https://github.com/aspnetzero/aspnet-zero/issues/193</a>

@hikalkan Thanks for your suggestion

@easyest Cool, I will try your attribute file and thanks for your help :)

<cite>hikalkan: </cite> Hi,

I have running Windows service with ABP and hosting Web APIs in a project. I will check it tomorrow and share related code parts.

Hi,

Do you have code that we could use? As you said in comment above, maybe link to github repository.

Thanks

For example I have this DTO:

public class SampleDTO
{
 [Display("SomeValue")]
  public string SomeValue { get; set; }
}

How to achieve localization in display attribute? I know display attribute has resource parameter, but how to connect it in ABP implementation?

Showing 1 to 10 of 13 entries