<cite>tteoh: </cite> Hi, @alper @maliming
I solved the problem by adding to Web.config: [attachment=1:1fuktc5s]WhatsApp Image 2018-08-13 at 6.06.06 PM.jpeg[/attachment:1fuktc5s]
But then I got a warning after I added the codes above to Web.config: [attachment=0:1fuktc5s]WhatsApp Image 2018-08-13 at 6.06.07 PM.jpeg[/attachment:1fuktc5s] I know it won't affect the function but just wonder to know why is this happening, because the warning is not appearing at normal ASP.NET MVC template.
Thanks.
@alper any idea why there is a warning message when using the WSDL in aspetzero where else the same WSDL does not throw any warning message when used in standard MVC template.
Appreciate your advice. Tq
Hi, @alper @maliming
I solved the problem by adding to Web.config: [attachment=1:30xm49vc]WhatsApp Image 2018-08-13 at 6.06.06 PM.jpeg[/attachment:30xm49vc]
But then I got a warning after I added the codes above to Web.config: [attachment=0:30xm49vc]WhatsApp Image 2018-08-13 at 6.06.07 PM.jpeg[/attachment:30xm49vc] I know it won't affect the function but just wonder to know why is this happening, because the warning is not appearing at normal ASP.NET MVC template.
<cite>alper: </cite> Check your CrmAuthenticationAppService.cs for injected classes. One of them is not registered to dependency injection system. You can remove them one by one to understand which one is the problem.
Hi,
WSDL service reference class is the 1 causes the problem: [attachment=0:2i1myobr]Capture.PNG[/attachment:2i1myobr]
So, can you teach me how to register the injected classes to dependency injection system??
Hi,
I sent my WSDL service project and MVC5AJ project to you by my own email(<a href="mailto:[email protected]">[email protected]</a>).
Hopefully, can get a good news from you.
Thanks :)
<cite>hikalkan: </cite> Answered here: <a class="postlink" href="http://forum.aspnetboilerplate.com/viewtopic.php?f=3&t=784&p=2709#p2709">http://forum.aspnetboilerplate.com/view ... 2709#p2709</a>
@hikalkan this link is not working. Pls advice the correct link.
Thanks /tommy
<cite>hikalkan: </cite> Hi,
Check this: <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Background-Jobs-And-Workers#disabling-job-execution">http://www.aspnetboilerplate.com/Pages/ ... -execution</a> Disable job execution for web application.
Create a Windows service and just add Abp package since this is only needed package. But if you used Hangfire, you should also add hangfire module. Windows Services are similar to console apps, there is one sample: <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-samples/tree/master/PhoneBook/src/Acme.PhoneBook.ConsoleApp">https://github.com/aspnetzero/aspnet-ze ... ConsoleApp</a> Note: You should also add your application's modules like in this sample console app.
@hikalkan the github link can longer be found. Pls kindly where I could refer to as I am exploring how implement Window Services that enable external interfaces to existing aspnetzero application.
Thanks. /tommy
<cite>ismcagdas: </cite> Hi,
Actually 2FA is implemented in Token auth as well, see <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Core/Controllers/TokenAuthController.cs#L136">https://github.com/aspnetzero/aspnet-ze ... er.cs#L136</a>.
You can check angular app to see how it works. If a 2FA token is required, API returns RequiresTwoFactorVerification = true. Then, user need to pass TwoFactorVerificationCode (<a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Core/Models/TokenAuth/AuthenticateModel.cs#L18">https://github.com/aspnetzero/aspnet-ze ... del.cs#L18</a>) to TokenAuthController's Authenticate action again.
@ismcagdas the link you provided on the implementation is on aspnetzero core template but for our case, we are using non-core template.
We ended up requiring to implement 2FA by leveraging on the libraries provided by Identity Framework. Taking the 2FA for the web login as reference and reimplement UserDeviceManager and MobileSignInManager under the WebApi project.
Thanks. /tommy
<cite>maliming: </cite> This may be some of the problems with the VS compiler, and I am not very clear about this.
Hi maliming, Ok. Thank you for helping me.
Thanks. /Tommy
<cite>tteoh: </cite> Hi maliming,
Just wonder to know why is this happening to me? Is it because of I have 2 version of VS running in my machine? I have VS 2015 Community and VS 2017 Community running on my machine.
Why the solution provided in the link is not working? How to: Enable and Disable Automatic Binding Redirection
Thanks. /Tommy
Hi maliming,
I'm still waiting answer of these questions.
Thanks. /Tommy
<cite>maliming: </cite> You can see detailed information in the VS output window: E.g:
3> Consider app.config remapping of assembly "System.Runtime.Serialization.Xml, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "4.0.10.0" [C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\Facades\System.Runtime.Serialization.Xml.dll] to Version "4.1.3.0" [C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\net461\lib\System.Runtime.Serialization.Xml.dll] to solve conflict and get rid of warning. 3> Consider app.config remapping of assembly "System.Data.Common, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "0.0.0.0" [] to Version "4.2.0.0" [C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\net461\lib\System.Data.Common.dll] to solve conflict and get rid of warning. 3> Consider app.config remapping of assembly "System.Net.Requests, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "4.0.10.0" [C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\Facades\System.Net.Requests.dll] to Version "4.0.11.0" [C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\net461\lib\System.Net.Requests.dll] to solve conflict and get rid of warning.
I manually follow the output information to add dependentAssembly under App.Config to eliminate this prompt. E.g:
<dependentAssembly> <assemblyIdentity name="System.Runtime.Serialization.Xml" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.1.3.00" newVersion="4.1.3.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Data.Common" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.2.0.00" newVersion="4.2.0.0" /> </dependentAssembly>
Maybe after adding all the items, you can completely eliminate the warning, of course, warning that these will not affect the function of the program.
Hi maliming,
This suggestion is able to eliminate the warning. Thank you very much.
Thanks. /Tommy