All posts by Social marketing master

ARM R0 register value while moving from U-boot to Kernel

While understanding the device tree for Kernel(specific to ARM), I came to know that following difference before the device tree and after the device tree.

Before device tree :
R1 register contains machine type
R2 register contains pointer to ATAGS

With device tree:
No need to check the R1 register
R2 register contains pointer to dtb file.

My doubht here is what exactly R0 contains before device tree and any change in the R0 register usage with device tree.

ARM R0 register value while moving from U-boot to Kernel

read more

ARM R0 register value while moving from U-boot to Kernel

While understanding the device tree for Kernel(specific to ARM), I came to know that following difference before the device tree and after the device tree.

Before device tree :
R1 register contains machine type
R2 register contains pointer to ATAGS

With device tree:
No need to check the R1 register
R2 register contains pointer to dtb file.

My doubht here is what exactly R0 contains before device tree and any change in the R0 register usage with device tree.

ARM R0 register value while moving from U-boot to Kernel

read more

Do I need to have a Startup.cs on my Frontend?

This question is related to this:

The problem I’m having is that I am trying to implement a SignalR with CORS from one ASP.NET (localhost:50000) project called Frontend to another ASP.NET MVC project (in the same solution) (localhost:60000).

When I run the application I get this error message in the console:

The following errors occurred while attempting to load the app.
– No assembly found containing an OwinStartupAttribute.
– No assembly found containing a Startup or [AssemblyName].Startup class. To disable OWIN startup discovery, add the appSetting
owin:AutomaticAppStartup with a value of “false” in your web.config.
To specify the OWIN startup Assembly, Class, or Method, add the
appSetting owin:AppStartup with the fully qualified startup class or
configuration method name in your web.config.

When I add a OWIN Startup class I don’t get this error message:

HTTP Error 404.0 – Not Found The resource you are looking for has been
removed, had its name changed, or is temporarily unavailable.

And I guess it’s because it is trying to find the hubs in it’s own project.

Question 1:
Do I need a startup on my Frontend?

Question 2 (if Question 1 == yes):
Must I in the Startup map SignalR to my Backend?

EDIT:
index.html:

<!--Script references -->
    <link href="Content/bootstrap.min.css" rel="stylesheet">
    <script src="Scripts/jquery-1.9.1.min.js"></script>
    <script src="Scripts/jquery.signalR-2.2.0.min.js"></script>
    <script src="http://localhost:50000/signalr/hubs" type="text/javascript"></script>

<!-- HEAD ^^^ -->

<!-- Deleted stuff -->

<!-- BODY  vvv -->
<script type="text/javascript">
        $(function () {
            var broadcaster = $.connection.loginHub;
            console.log("broadcaster: " + broadcaster)

            $.connection.hub.start().done(function () {

            });

        });
    </script>

read more

Do I need to have a Startup.cs on my Frontend?

This question is related to this:

The problem I’m having is that I am trying to implement a SignalR with CORS from one ASP.NET (localhost:50000) project called Frontend to another ASP.NET MVC project (in the same solution) (localhost:60000).

When I run the application I get this error message in the console:

The following errors occurred while attempting to load the app.
– No assembly found containing an OwinStartupAttribute.
– No assembly found containing a Startup or [AssemblyName].Startup class. To disable OWIN startup discovery, add the appSetting
owin:AutomaticAppStartup with a value of “false” in your web.config.
To specify the OWIN startup Assembly, Class, or Method, add the
appSetting owin:AppStartup with the fully qualified startup class or
configuration method name in your web.config.

When I add a OWIN Startup class I don’t get this error message:

HTTP Error 404.0 – Not Found The resource you are looking for has been
removed, had its name changed, or is temporarily unavailable.

And I guess it’s because it is trying to find the hubs in it’s own project.

Question 1:
Do I need a startup on my Frontend?

Question 2 (if Question 1 == yes):
Must I in the Startup map SignalR to my Backend?

EDIT:
index.html:

<!--Script references -->
    <link href="Content/bootstrap.min.css" rel="stylesheet">
    <script src="Scripts/jquery-1.9.1.min.js"></script>
    <script src="Scripts/jquery.signalR-2.2.0.min.js"></script>
    <script src="http://localhost:50000/signalr/hubs" type="text/javascript"></script>

<!-- HEAD ^^^ -->

<!-- Deleted stuff -->

<!-- BODY  vvv -->
<script type="text/javascript">
        $(function () {
            var broadcaster = $.connection.loginHub;
            console.log("broadcaster: " + broadcaster)

            $.connection.hub.start().done(function () {

            });

        });
    </script>

read more